nextpyp.client.gen.TomographySessionData#
- class nextpyp.client.gen.TomographySessionData#
Bases:
object(no description yet)
Methods
deserialize- rtype:
Creates a new class instance from JSON
serialize- rtype:
str
Converts this class instance into JSON
Attributes
TYPE_ID(no description yet)
(no description yet)
(no description yet)
(no description yet)
(no description yet)
(no description yet)
(no description yet)
(no description yet)
(no description yet)
(no description yet)
Details
- __init__(user_id, session_id, session_number, created, permissions, path, args, display, num_tilt_series, num_tilts)#
- Parameters:
user_id (str) –
session_id (str) –
session_number (int | None) –
created (int) –
permissions (Set[SessionPermission]) –
path (str) –
args (JobArgs[TomographySessionArgs]) –
display (JobArgs[TomographySessionDisplay]) –
num_tilt_series (int) –
num_tilts (int) –
- 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:
- 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)