Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit abfd18a

Browse filesBrowse files
authored
fix: Fixes a PydanticDeprecatedSince20 warning for trino_offline_store (#5991)
* fix: Adds mapping of date Trino's type into string Feast's type Signed-off-by: Sergey Kryazhevskikh <soliverr@gmail.com> * fix: Adds mapping of date Trino's type into string Feast's type Signed-off-by: Sergey Kryazhevskikh <soliverr@gmail.com> * fix: Fixes a `PydanticDeprecatedSince20` warning for trino_offline_store Signed-off-by: Sergey Kryazhevskikh <soliverr@gmail.com> --------- Signed-off-by: Sergey Kryazhevskikh <soliverr@gmail.com>
1 parent 2b4ec9a commit abfd18a
Copy full SHA for abfd18a

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • sdk/python/feast/infra/offline_stores/contrib/trino_offline_store
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎sdk/python/feast/infra/offline_stores/contrib/trino_offline_store/trino.py‎

Copy file name to clipboardExpand all lines: sdk/python/feast/infra/offline_stores/contrib/trino_offline_store/trino.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def to_trino_auth(self):
116116

117117
model_cls = CLASSES_BY_AUTH_TYPE[auth_type]["auth_model"]
118118
model = model_cls(**self.config)
119-
return trino_auth_cls(**model.dict())
119+
return trino_auth_cls(**model.model_dump())
120120

121121

122122
class TrinoOfflineStoreConfig(FeastConfigBaseModel):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.