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

Method GetEntity

sdk/python/feast/registry_server.py:200–208  ·  view source on GitHub ↗
(self, request: RegistryServer_pb2.GetEntityRequest, context)

Source from the content-addressed store, hash-verified

198 return Empty()
199
200 def GetEntity(self, request: RegistryServer_pb2.GetEntityRequest, context):
201 return assert_permissions(
202 self.proxied_registry.get_entity(
203 name=request.name,
204 project=request.project,
205 allow_cache=request.allow_cache,
206 ),
207 actions=[AuthzedAction.DESCRIBE],
208 ).to_proto()
209
210 def ListEntities(self, request: RegistryServer_pb2.ListEntitiesRequest, context):
211 paginated_entities, pagination_metadata = apply_pagination_and_sorting(

Callers

nothing calls this directly

Calls 3

assert_permissionsFunction · 0.90
to_protoMethod · 0.45
get_entityMethod · 0.45

Tested by

no test coverage detected