MCPcopy Create free account
hub / github.com/alphagov/notifications-api / api_keys

Method api_keys

app/serialised_models.py:144–145  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

142
143 @cached_property
144 def api_keys(self):
145 return SerialisedAPIKeyCollection.from_service_id(self.id)
146
147 def has_permission(self, permission):
148 return permission in self.permissions

Callers

nothing calls this directly

Calls 1

from_service_idMethod · 0.80

Tested by

no test coverage detected