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

Method make_linked

scratchattach/site/cloud_activity.py:110–111  ·  view source on GitHub ↗
(cloud: _base.BaseCloud)

Source from the content-addressed store, hash-verified

108 Returns the project where the cloud activity was performed as scratchattach.project.Project object
109 """
110 def make_linked(cloud: _base.BaseCloud) -> project_module.Project:
111 return self._make_linked_object("id", cloud.project_id, project_module.Project, exceptions.ProjectNotFound)
112 if self.cloud is None:
113 return None
114 cloud = self.cloud

Callers

nothing calls this directly

Calls 1

_make_linked_objectMethod · 0.45

Tested by

no test coverage detected