CaptureId
yosoi.identities.CaptureId
class CaptureId(ActivityId):
An activity identity designated as a capture by its Python type.
The type preserves capture-specific authoring vocabulary. Parsing a UUID does not verify the existence or contents of a corresponding capture.
Source: python/yosoi/identities.py:68
Base classes
Section titled “Base classes”Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.
Methods
Section titled “Methods”random
Section titled “random”@classmethod
def random(cls) -> Self:
Generate a fresh capture identity without acquiring or archiving content.
Source: python/yosoi/identities.py:87
activity_id
Section titled “activity_id”def activity_id(self) -> ActivityId:
Return the same UUID represented as the general activity type.