webstation-broker
DeveloperPython referenceimports

imports.IdentitySource

Where an emulator's session identity comes from.

Where an emulator's session identity comes from.

Attributes

attributefamilyIdFamily

The id family the session id is normalised in.

attributerom_readerOptional[Callable[[Path], Optional[str]]]
= None

Reads the id off the rom file, or None when it cannot.

attributeuse_save_targetbool
= False

Whether RomM's value is save_target rather than title_id.

attributeromm_familyOptional[IdFamily]
= None

The family RomM's value is written in, when it differs from family.

attributefall_back_to_title_idbool
= False

Whether title_id stands in for a missing save_target.

Functions

func__init__(self, family, rom_reader=None, use_save_target=False, romm_family=None, fall_back_to_title_id=False) -> None
paramself
paramfamilyIdFamily
paramrom_readerOptional[Callable[[Path], Optional[str]]]
= None
paramuse_save_targetbool
= False
paramromm_familyOptional[IdFamily]
= None
paramfall_back_to_title_idbool
= False

Returns

None

On this page