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

Method DeleteProject

sdk/python/feast/registry_server.py:1131–1141  ·  view source on GitHub ↗
(self, request: RegistryServer_pb2.DeleteProjectRequest, context)

Source from the content-addressed store, hash-verified

1129 )
1130
1131 def DeleteProject(self, request: RegistryServer_pb2.DeleteProjectRequest, context):
1132 project = self.proxied_registry.get_project(
1133 name=request.name, allow_cache=False
1134 )
1135 assert_permissions(
1136 resource=project,
1137 actions=[AuthzedAction.DELETE],
1138 )
1139 self.proxied_registry.delete_project(name=request.name, commit=request.commit)
1140
1141 return Empty()
1142
1143 def GetRegistryLineage(
1144 self, request: RegistryServer_pb2.GetRegistryLineageRequest, context

Callers

nothing calls this directly

Calls 3

assert_permissionsFunction · 0.90
get_projectMethod · 0.45
delete_projectMethod · 0.45

Tested by

no test coverage detected