imports.KindSpec
One kind an emulator accepts.
One kind an emulator accepts.
Attributes
attributekindImportKindThe kind.
attributeshapestuple[str, ...]The accepted shapes, in words, for expected and discovery.
attributerequires_resume_slotbool= FalseWhether the member only boots with save.resume_slot set.
attributemax_membersOptional[int]= NoneMost members of this kind one import may place, or None.
attributecounts_v1bool= FalseWhether 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=()) -> NoneparamselfparamkindImportKindparamshapestuple[str, ...]paramrequires_resume_slotbool= Falseparammax_membersOptional[int]= Noneparamcounts_v1bool= Falseparamcompanionstuple[str, ...]= ()Returns
None