nextpyp.client.gen.TomographySessionData#

class nextpyp.client.gen.TomographySessionData#

Bases: object

(no description yet)

Methods

__init__

deserialize

rtype:

TomographySessionData

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_tilt_series

(no description yet)

num_tilts

(no description yet)

Details

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

None

args: JobArgs[TomographySessionArgs]#

(no description yet)

created: int#

(no description yet)

display: JobArgs[TomographySessionDisplay]#

(no description yet)

classmethod from_json(json, type_ids=None)#

Creates a new class instance from JSON

Return type:

TomographySessionData

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

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

num_tilt_series: int#

(no description yet)

num_tilts: 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)