nextpyp.client.gen.RefinementData#

class nextpyp.client.gen.RefinementData#

Bases: object

(no description yet)

Methods

__init__

deserialize

rtype:

RefinementData

from_json

Creates a new class instance from JSON

serialize

rtype:

str

to_json

Converts this class instance into JSON

Attributes

TYPE_ID

id

(no description yet)

job_id

(no description yet)

data_id

eg a micrograph id or a tilt series id

iteration

(no description yet)

timestamp

(no description yet)

Details

__init__(id, job_id, data_id, iteration, timestamp)#
Parameters:
  • id (str) –

  • job_id (str) –

  • data_id (str) –

  • iteration (int) –

  • timestamp (int) –

Return type:

None

data_id: str#

eg a micrograph id or a tilt series id

classmethod from_json(json, type_ids=None)#

Creates a new class instance from JSON

Return type:

RefinementData

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

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

id: str#

(no description yet)

iteration: int#

(no description yet)

job_id: str#

(no description yet)

timestamp: int#

(no description yet)

to_json()#

Converts this class instance into JSON

Return type:

Dict[str, Any]