Skip to content
YosoiDocs

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

ActivityId

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

@classmethod
def random(cls) -> Self:

Generate a fresh capture identity without acquiring or archiving content.

Source: python/yosoi/identities.py:87

def activity_id(self) -> ActivityId:

Return the same UUID represented as the general activity type.

Source: python/yosoi/identities.py:91