Payload

class lightning.app.storage.payload.Payload(value)[source]

Bases: _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