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

Method managers

scratchattach/site/studio.py:455–468  ·  view source on GitHub ↗

Gets the studio managers. Keyword arguments: limit (int): Max amount of returned managers offset (int): Offset of the first returned manager. Returns: list : A list containing the studio managers as user objects

(self, limit=40, offset=0)

Source from the content-addressed store, hash-verified

453 ).json()
454
455 def managers(self, limit=40, offset=0):
456 """
457 Gets the studio managers.
458
459 Keyword arguments:
460 limit (int): Max amount of returned managers
461 offset (int): Offset of the first returned manager.
462
463 Returns:
464 list<scratchattach.user.User>: A list containing the studio managers as user objects
465 """
466 response = commons.api_iterative(
467 f"https://api.scratch.mit.edu/studios/{self.id}/managers", limit=limit, offset=offset)
468 return commons.parse_object_list(response, user.User, self._session, "username")
469
470 def host(self) -> user.User:
471 """

Callers 2

hostMethod · 0.95
test_studioFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_studioFunction · 0.64