webstation-broker
DeveloperPython referencefirmware

firmware.Source

One firmware file RomM sent, checked to lie under `ROM_ROOT`.

One firmware file RomM sent, checked to lie under ROM_ROOT.

Attributes

attributenamestr

The uploaded file name, a single path component.

attributepathPath

Where the file is in this container, resolved.

attributemd5Optional[str]

RomM's md5 for it, lower case, or None.

attributesha1Optional[str]

RomM's sha1 for it, lower case, or None.

attributesizeOptional[int]

RomM's size for it in bytes, or None.

Functions

func__init__(self, name, path, md5, sha1, size) -> None
paramself
paramnamestr
parampathPath
parammd5Optional[str]
paramsha1Optional[str]
paramsizeOptional[int]

Returns

None

On this page