Payload

class lightning.app.storage.payload.Payload(value)

Bases: _BasePayload

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

load(path)

Override this method with your own loading logic.

Return type

Any

save(obj, path)

Override this method with your own saving logic.

Return type

None