nextpyp.client.gen.SingleParticleSessionData#

class nextpyp.client.gen.SingleParticleSessionData#

Bases: object

(no description yet)

Methods

__init__

deserialize

rtype:

SingleParticleSessionData

from_json

Creates a new class instance from JSON

serialize

rtype:

str

to_json

Converts this class instance into JSON

Attributes

TYPE_ID

user_id

(no description yet)

session_id

(no description yet)

session_number

(no description yet)

created

(no description yet)

permissions

(no description yet)

path

(no description yet)

args

(no description yet)

display

(no description yet)

num_micrographs

(no description yet)

num_frames

(no description yet)

Details

__init__(user_id, session_id, session_number, created, permissions, path, args, display, num_micrographs, num_frames)#
Parameters:
Return type:

None

args: JobArgs[SingleParticleSessionArgs]#

(no description yet)

created: int#

(no description yet)

display: JobArgs[SingleParticleSessionDisplay]#

(no description yet)

classmethod from_json(json, type_ids=None)#

Creates a new class instance from JSON

Return type:

SingleParticleSessionData

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

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

num_frames: int#

(no description yet)

num_micrographs: int#

(no description yet)

path: str#

(no description yet)

permissions: Set[SessionPermission]#

(no description yet)

session_id: str#

(no description yet)

session_number: Optional[int]#

(no description yet)

to_json()#

Converts this class instance into JSON

Return type:

Dict[str, Any]

user_id: str#

(no description yet)