Skip to content

Commit

Permalink
Fix mypy type checker error
Browse files Browse the repository at this point in the history
Signed-off-by: Galen Terziysky <105213101+galen-ft@users.noreply.github.com>
  • Loading branch information
galen-ft committed Mar 8, 2024
1 parent 16da7c9 commit 809c863
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/python/feast/infra/registry/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class SqlRegistryConfig(RegistryConfig):
""" str: Path to metadata store.
If registry_type is 'sql', then this is a database URL as expected by SQLAlchemy """

sqlalchemy_config_kwargs: Optional[Dict[str, Any]] = {"echo": False}
sqlalchemy_config_kwargs: Dict[str, Any] = {"echo": False}
""" Dict[str, Any]: Extra arguments to pass to SQLAlchemy.create_engine. """


Expand Down
2 changes: 1 addition & 1 deletion sdk/python/feast/repo_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class RegistryConfig(FeastBaseModel):
s3_additional_kwargs: Optional[Dict[str, str]] = None
""" Dict[str, str]: Extra arguments to pass to boto3 when writing the registry file to S3. """

sqlalchemy_config_kwargs: Optional[Dict[str, Any]] = {}
sqlalchemy_config_kwargs: Dict[str, Any] = {}
""" Dict[str, Any]: Extra arguments to pass to SQLAlchemy.create_engine. """


Expand Down

0 comments on commit 809c863

Please sign in to comment.