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

Function get_security_manager

sdk/python/feast/permissions/security_manager.py:212–217  ·  view source on GitHub ↗

Return the global instance of `SecurityManager`.

()

Source from the content-addressed store, hash-verified

210
211
212def get_security_manager() -> Optional[SecurityManager]:
213 """
214 Return the global instance of `SecurityManager`.
215 """
216 global _sm
217 return _sm
218
219
220def set_security_manager(sm: SecurityManager):

Callers 8

_emit_online_auditFunction · 0.90
_get_featuresFunction · 0.90
intercept_serviceMethod · 0.90
inject_user_detailsFunction · 0.90
inject_user_detailsFunction · 0.90
assert_permissionsFunction · 0.85
permitted_resourcesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected