Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Rename, reorganize schema module #1963

Merged
merged 35 commits into from
May 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
b7ce8c4
Remove generated files.
ksbrar Apr 24, 2022
6424655
Remove extraction script.
ksbrar Apr 24, 2022
74a4d32
Adjust marshmallow_schema_utils.
ksbrar Apr 24, 2022
3e166d4
change manifest.
ksbrar Apr 24, 2022
bfb2e61
adjust combiners, rename unload method.
ksbrar Apr 24, 2022
5ee4eca
adjust trainer
ksbrar Apr 24, 2022
664b4c7
convert optimizers.
ksbrar Apr 25, 2022
765c783
update FloatRange allow_none
ksbrar Apr 25, 2022
11a2857
Add descriptions to optimizer, gradientclipping dataclass fields.
ksbrar Apr 25, 2022
4e8a232
update marshmallow tests.
ksbrar Apr 25, 2022
2e57cb2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 25, 2022
b266763
fix
ksbrar Apr 25, 2022
39dfdc0
Merge branch 'refactor_remove_marshmallow_extraction' of github.com:k…
ksbrar Apr 25, 2022
f7601e7
remove old method refs.
ksbrar Apr 25, 2022
f3df813
fix
ksbrar Apr 25, 2022
a3406f4
replace default description None with TODO
ksbrar Apr 25, 2022
a927865
fix test
ksbrar Apr 25, 2022
1affa5b
additionalProperties fix
ksbrar Apr 25, 2022
7742720
Rename marshamllow_schema_utils file -> utils
ksbrar Apr 26, 2022
d8863b1
rename ludwig.marshmallow folder -> ludwig.schema
ksbrar Apr 26, 2022
26008fd
Move ludwig/utils/schema file to new ludwig/schema folder.
ksbrar Apr 26, 2022
b3e93dd
style: clean up some import aliases.
ksbrar Apr 26, 2022
dd5e36c
Merge in latest.
ksbrar Apr 26, 2022
1800687
integration test fix.
ksbrar Apr 26, 2022
9279905
add header comments.
ksbrar Apr 26, 2022
31b1b58
add header comments.
ksbrar Apr 26, 2022
77ea23a
add header comments.
ksbrar Apr 26, 2022
09e06e0
Rename import ... utils -> import ... utils as schema_utils.
ksbrar Apr 27, 2022
9fb1f48
fix replace-all, move schema.py into schema/__init__.py
ksbrar Apr 27, 2022
d9eb45d
Move trainer and combiner schemas over. (still need to fix tests, may…
ksbrar Apr 28, 2022
f6dd4e3
tmp - fix tests, move sequence_encoder_registry, fix some imports.
ksbrar Apr 28, 2022
4c0a2fc
more import fixes.
ksbrar Apr 28, 2022
b6f48af
fix import.
ksbrar Apr 28, 2022
3197e31
Merge in latest.
ksbrar May 9, 2022
de7769e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 9, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ludwig/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
set_disable_progressbar,
TRAIN_SET_METADATA_FILE_NAME,
)
from ludwig.marshmallow.marshmallow_schema_utils import load_config_with_kwargs
from ludwig.models.ecd import ECD
from ludwig.models.inference import InferenceModule
from ludwig.models.predictor import (
Expand All @@ -72,6 +71,8 @@
)
from ludwig.models.trainer import Trainer
from ludwig.modules.metric_modules import get_best_function
from ludwig.schema import validate_config
from ludwig.schema.utils import load_config_with_kwargs
from ludwig.utils import metric_utils
from ludwig.utils.data_utils import (
figure_data_format,
Expand All @@ -85,7 +86,6 @@
from ludwig.utils.fs_utils import makedirs, open_file, path_exists, upload_output_directory
from ludwig.utils.misc_utils import get_file_names, get_output_directory
from ludwig.utils.print_utils import print_boxed
from ludwig.utils.schema import validate_config

logger = logging.getLogger(__name__)

Expand Down
Loading