Shortcuts

Payload

class lightning_app.storage.payload.Payload(value)[source]

Bases: lightning_app.storage.payload._BasePayload

The Payload object enables to transfer python objects from one work to another in a similar fashion as Path.

load(path)[source]

Override this method with your own loading logic.

Return type

Any

save(obj, path)[source]

Override this method with your own saving logic.

Return type

None