MCPcopy Index your code
hub / github.com/feast-dev/feast / delete_data_source

Method delete_data_source

sdk/python/feast/infra/registry/sql.py:913–921  ·  view source on GitHub ↗
(self, name: str, project: str, commit: bool = True)

Source from the content-addressed store, hash-verified

911 )
912
913 def delete_data_source(self, name: str, project: str, commit: bool = True):
914 with self.write_engine.begin() as conn:
915 stmt = delete(data_sources).where(
916 data_sources.c.data_source_name == name,
917 data_sources.c.project_id == project,
918 )
919 rows = conn.execute(stmt)
920 if rows.rowcount < 1:
921 raise DataSourceObjectNotFoundException(name, project)
922
923 def _list_feature_services(
924 self, project: str, tags: Optional[dict[str, str]], **kwargs

Callers 3

applyMethod · 0.45
DeleteDataSourceMethod · 0.45
apply_diff_to_registryFunction · 0.45

Calls 3

deleteFunction · 0.85
executeMethod · 0.45

Tested by

no test coverage detected