MCPcopy Create free account
hub / github.com/feast-dev/feast / get_permission

Method get_permission

sdk/python/feast/feature_store.py:4175–4188  ·  view source on GitHub ↗

Retrieves a permission from the registry. Args: name: Name of the permission. Returns: The specified permission. Raises: PermissionObjectNotFoundException: The permission could not be found.

(self, name: str)

Source from the content-addressed store, hash-verified

4173 )
4174
4175 def get_permission(self, name: str) -> Permission:
4176 """
4177 Retrieves a permission from the registry.
4178
4179 Args:
4180 name: Name of the permission.
4181
4182 Returns:
4183 The specified permission.
4184
4185 Raises:
4186 PermissionObjectNotFoundException: The permission could not be found.
4187 """
4188 return self.registry.get_permission(name, self.project)
4189
4190 def list_projects(
4191 self, allow_cache: bool = False, tags: Optional[dict[str, str]] = None

Callers 3

GetPermissionMethod · 0.45
DeletePermissionMethod · 0.45

Calls

no outgoing calls

Tested by 1