MCPcopy Create free account
hub / github.com/TimMcCool/scratchattach / actor

Method actor

scratchattach/site/cloud_activity.py:98–104  ·  view source on GitHub ↗

Returns the user that performed the cloud activity as scratchattach.user.User object

(self)

Source from the content-addressed store, hash-verified

96 return False
97
98 def actor(self):
99 """
100 Returns the user that performed the cloud activity as scratchattach.user.User object
101 """
102 if self.username is None:
103 return None
104 return self._make_linked_object("username", self.username, user.User, exceptions.UserNotFound)
105
106 def project(self) -> Optional[project_module.Project]:
107 """

Callers

nothing calls this directly

Calls 1

_make_linked_objectMethod · 0.45

Tested by

no test coverage detected