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

Method list_permissions

sdk/python/feast/feature_store.py:4158–4173  ·  view source on GitHub ↗

Retrieves the list of permissions from the registry. Args: allow_cache: Whether to allow returning permissions from a cached registry. tags: Filter by tags. Returns: A list of permissions.

(
        self, allow_cache: bool = False, tags: Optional[dict[str, str]] = None
    )

Source from the content-addressed store, hash-verified

4156 )
4157
4158 def list_permissions(
4159 self, allow_cache: bool = False, tags: Optional[dict[str, str]] = None
4160 ) -> List[Permission]:
4161 """
4162 Retrieves the list of permissions from the registry.
4163
4164 Args:
4165 allow_cache: Whether to allow returning permissions from a cached registry.
4166 tags: Filter by tags.
4167
4168 Returns:
4169 A list of permissions.
4170 """
4171 return self.registry.list_permissions(
4172 self.project, allow_cache=allow_cache, tags=tags
4173 )
4174
4175 def get_permission(self, name: str) -> Permission:
4176 """

Callers 5

ListPermissionsMethod · 0.45
_test_list_permissionsFunction · 0.45
test_apply_permissionsFunction · 0.45

Calls

no outgoing calls

Tested by 3

_test_list_permissionsFunction · 0.36
test_apply_permissionsFunction · 0.36