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

Method GetDataSource

sdk/python/feast/registry_server.py:264–272  ·  view source on GitHub ↗
(self, request: RegistryServer_pb2.GetDataSourceRequest, context)

Source from the content-addressed store, hash-verified

262 return Empty()
263
264 def GetDataSource(self, request: RegistryServer_pb2.GetDataSourceRequest, context):
265 return assert_permissions(
266 resource=self.proxied_registry.get_data_source(
267 name=request.name,
268 project=request.project,
269 allow_cache=request.allow_cache,
270 ),
271 actions=AuthzedAction.DESCRIBE,
272 ).to_proto()
273
274 def ListDataSources(
275 self, request: RegistryServer_pb2.ListDataSourcesRequest, context

Callers

nothing calls this directly

Calls 3

assert_permissionsFunction · 0.90
to_protoMethod · 0.45
get_data_sourceMethod · 0.45

Tested by

no test coverage detected