Skip to content

Commit abfd18a

Browse files
authored
fix: Fixes a PydanticDeprecatedSince20 warning for trino_offline_store (feast-dev#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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • sdk/python/feast/infra/offline_stores/contrib/trino_offline_store

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

Lines 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)