nextpyp.client.gen.RunningSessions#

class nextpyp.client.gen.RunningSessions#

Bases: object

because polymorphic serialization in KVision is too much of a pain

Methods

__init__

deserialize

rtype:

RunningSessions

from_json

Creates a new class instance from JSON

serialize

rtype:

str

to_json

Converts this class instance into JSON

Attributes

TYPE_ID

single_particle

(no description yet)

tomography

(no description yet)

Details

__init__(single_particle, tomography)#
Parameters:
Return type:

None

classmethod from_json(json, type_ids=None)#

Creates a new class instance from JSON

Return type:

RunningSessions

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

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

single_particle: List[SingleParticleSessionData]#

(no description yet)

to_json()#

Converts this class instance into JSON

Return type:

Dict[str, Any]

tomography: List[TomographySessionData]#

(no description yet)