benchling_api_client.models.request_fulfillment module

class RequestFulfillment

Bases: object

A request fulfillment represents work that is done which changes the status of a request or a sample group within that request. Fulfillments are created when state changes between IN_PROGRESS, COMPLETED, or FAILED statuses. Fulfillments do not capture a PENDING state because all requests or request sample groups are considered PENDING until the first corresponding fulfillment is created.

__init__(created_at: Union[benchling_api_client.types.Unset, datetime] = attr_dict['_created_at'].default, entry_id: Union[benchling_api_client.types.Unset, str] = attr_dict['_entry_id'].default, id: Union[benchling_api_client.types.Unset, str] = attr_dict['_id'].default, modified_at: Union[benchling_api_client.types.Unset, datetime] = attr_dict['_modified_at'].default, request_id: Union[benchling_api_client.types.Unset, str] = attr_dict['_request_id'].default, sample_group: Union[benchling_api_client.types.Unset, None, SampleGroup] = attr_dict['_sample_group'].default, status: Union[benchling_api_client.types.Unset, SampleGroupStatus] = attr_dict['_status'].default) None

Method generated by attrs for class RequestFulfillment.

property additional_keys: List[str]
additional_properties: Dict[str, Any]
property created_at: datetime

Date and time the fulfillment was created

property entry_id: str

ID of the entry this fulfillment was executed in, if any

classmethod from_dict(src_dict: Dict[str, Any]) benchling_api_client.models.request_fulfillment.T
get(key, default=None) Optional[Any]
property id: str

ID of the request fulfillment

property modified_at: datetime

DateTime the Request Fulfillment was last modified

property request_id: str

ID of the request this fulfillment fulfills

property sample_group: Optional[SampleGroup]

Represents a sample group that is an input to a request. A sample group is a set of samples upon which work in the request should be done.

property status: SampleGroupStatus

Status of a sample group

to_dict() Dict[str, Any]