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

Method _get_data_source

sdk/python/feast/infra/registry/sql.py:646–656  ·  view source on GitHub ↗
(self, name: str, project: str)

Source from the content-addressed store, hash-verified

644 )
645
646 def _get_data_source(self, name: str, project: str) -> DataSource:
647 return self._get_object(
648 table=data_sources,
649 name=name,
650 project=project,
651 proto_class=DataSourceProto,
652 python_class=DataSource,
653 id_field_name="data_source_name",
654 proto_field_name="data_source_proto",
655 not_found_exception=DataSourceObjectNotFoundException,
656 )
657
658 def _list_data_sources(
659 self, project: str, tags: Optional[dict[str, str]], **kwargs

Callers

nothing calls this directly

Calls 1

_get_objectMethod · 0.95

Tested by

no test coverage detected