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

Method creator_agent

scratchattach/site/project.py:362–369  ·  view source on GitHub ↗

Method only works for project created with Scratch 3. Returns: str: The user agent of the browser that this project was saved with.

(self)

Source from the content-addressed store, hash-verified

360 return self.raw_json()
361
362 def creator_agent(self):
363 """
364 Method only works for project created with Scratch 3.
365
366 Returns:
367 str: The user agent of the browser that this project was saved with.
368 """
369 return self.raw_json()["meta"]["agent"]
370
371 def set_body(self, project_body: editor.Project):
372 """

Callers

nothing calls this directly

Calls 1

raw_jsonMethod · 0.95

Tested by

no test coverage detected