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

Method ApplyEntity

sdk/python/feast/registry_server.py:183–198  ·  view source on GitHub ↗
(self, request: RegistryServer_pb2.ApplyEntityRequest, context)

Source from the content-addressed store, hash-verified

181 self.proxied_registry = registry
182
183 def ApplyEntity(self, request: RegistryServer_pb2.ApplyEntityRequest, context):
184 entity = cast(
185 Entity,
186 assert_permissions_to_update(
187 resource=Entity.from_proto(request.entity),
188 getter=self.proxied_registry.get_entity,
189 project=request.project,
190 ),
191 )
192 self.proxied_registry.apply_entity(
193 entity=entity,
194 project=request.project,
195 commit=request.commit,
196 )
197
198 return Empty()
199
200 def GetEntity(self, request: RegistryServer_pb2.GetEntityRequest, context):
201 return assert_permissions(

Callers

nothing calls this directly

Calls 3

from_protoMethod · 0.45
apply_entityMethod · 0.45

Tested by

no test coverage detected