webstation-broker
DeveloperPython referenceimports

imports.KindSpec

One kind an emulator accepts.

One kind an emulator accepts.

Attributes

attributekindImportKind

The kind.

attributeshapestuple[str, ...]

The accepted shapes, in words, for expected and discovery.

attributerequires_resume_slotbool
= False

Whether the member only boots with save.resume_slot set.

attributemax_membersOptional[int]
= None

Most members of this kind one import may place, or None.

attributecounts_v1bool
= False

Whether v1 members of the same kind count toward max_members.

attributecompanionstuple[str, ...]
= ()

fnmatch globs for leaf names that ride with the kind's members, such as a state's screenshot. They are placed like any member but do not count toward max_members.

Functions

func__init__(self, kind, shapes, requires_resume_slot=False, max_members=None, counts_v1=False, companions=()) -> None
paramself
paramkindImportKind
paramshapestuple[str, ...]
paramrequires_resume_slotbool
= False
parammax_membersOptional[int]
= None
paramcounts_v1bool
= False
paramcompanionstuple[str, ...]
= ()

Returns

None

On this page