Skip to content

Commit 531823b

Browse files
committed
Fix mypy type checker error
1 parent 16da7c9 commit 531823b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk/python/feast/infra/registry/sql.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class SqlRegistryConfig(RegistryConfig):
190190
""" str: Path to metadata store.
191191
If registry_type is 'sql', then this is a database URL as expected by SQLAlchemy """
192192

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

196196

sdk/python/feast/repo_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class RegistryConfig(FeastBaseModel):
125125
s3_additional_kwargs: Optional[Dict[str, str]] = None
126126
""" Dict[str, str]: Extra arguments to pass to boto3 when writing the registry file to S3. """
127127

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

131131

0 commit comments

Comments
 (0)