nextpyp.client.gen.SessionExportResult#

class nextpyp.client.gen.SessionExportResult#

Bases: object

WARNING: be very careful changing these classes! They get saved in the sessionExports database in serialized form, so deserializing old data could cause problems depending on how backwards compatible kotlinx.serialization is. Making changes here may require database migrations.

Methods

__init__

deserialize

rtype:

SessionExportResult

from_json

Creates a new class instance from JSON

serialize

rtype:

str

to_json

rtype:

Dict[str, Any]

Attributes

TYPE_ID

Details

classmethod from_json(json, type_ids=None)#

Creates a new class instance from JSON

Return type:

SessionExportResult

Parameters:
  • json (Dict[str, Any]) –

  • type_ids (Dict[str, str] | None) –