Skip to content

Commit

Permalink
made some code changes
Browse files Browse the repository at this point in the history
  • Loading branch information
benmalef committed Nov 20, 2024
1 parent 3dfec04 commit 57f9233
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion GANDLF/config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ def ConfigManager(
try:
parameters = Parameters(
**_parseConfig(config_file_path, version_check_flag)
).dict()
).model_dump(by_alias=True)
return parameters
except Exception as e:
## todo: ensure logging captures assertion errors
Expand Down
1 change: 1 addition & 0 deletions GANDLF/utils/pydantic_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@ class Parameters(BaseModel):
output_dir: Optional[str] = ""
problem_type: Optional[str] = None
differential_privacy: Optional[dict] = {}

0 comments on commit 57f9233

Please sign in to comment.