MCPcopy
hub / github.com/feast-dev/feast / _get_entity

Method _get_entity

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

Source from the content-addressed store, hash-verified

424 )
425
426 def _get_entity(self, name: str, project: str) -> Entity:
427 return self._get_object(
428 table=entities,
429 name=name,
430 project=project,
431 proto_class=EntityProto,
432 python_class=Entity,
433 id_field_name="entity_name",
434 proto_field_name="entity_proto",
435 not_found_exception=EntityNotFoundException,
436 )
437
438 def _get_any_feature_view(self, name: str, project: str) -> BaseFeatureView:
439 fv = self._get_object(

Callers

nothing calls this directly

Calls 1

_get_objectMethod · 0.95

Tested by

no test coverage detected