benchling_api_client.models.entry module

class Entry

Bases: object

Entries are notes that users can take. They’re organized by “days” (which are user-configurable) and modeled within each day as a list of “notes.” Each note has a type - the simplest is a “text” type, but lists, tables, and external files are also supported.

Note: the current Entry resource has a few limitations: - Formatting information is not yet supported. Header formatting, bolding, and other stylistic information is not presented. - Data in tables is presented as text always - numeric values will need to be parsed into floats or integers, as appropriate.

Note: Data in Results tables are not accessible through this API call. Results table data can be called through the Results API calls.

__init__(api_url: Union[benchling_api_client.types.Unset, str] = attr_dict['_api_url'].default, archive_record: Union[benchling_api_client.types.Unset, None, ArchiveRecord] = attr_dict['_archive_record'].default, assigned_reviewers: Union[benchling_api_client.types.Unset, List[UserSummary]] = attr_dict['_assigned_reviewers'].default, authors: Union[benchling_api_client.types.Unset, List[UserSummary]] = attr_dict['_authors'].default, created_at: Union[benchling_api_client.types.Unset, datetime] = attr_dict['_created_at'].default, creator: Union[benchling_api_client.types.Unset, UserSummary] = attr_dict['_creator'].default, custom_fields: Union[benchling_api_client.types.Unset, CustomFields] = attr_dict['_custom_fields'].default, days: Union[benchling_api_client.types.Unset, List[EntryDay]] = attr_dict['_days'].default, display_id: Union[benchling_api_client.types.Unset, str] = attr_dict['_display_id'].default, entry_template_id: Union[benchling_api_client.types.Unset, None, str] = attr_dict['_entry_template_id'].default, fields: Union[benchling_api_client.types.Unset, Fields] = attr_dict['_fields'].default, folder_id: Union[benchling_api_client.types.Unset, str] = attr_dict['_folder_id'].default, id: Union[benchling_api_client.types.Unset, str] = attr_dict['_id'].default, modified_at: Union[benchling_api_client.types.Unset, str] = attr_dict['_modified_at'].default, name: Union[benchling_api_client.types.Unset, str] = attr_dict['_name'].default, review_record: Union[benchling_api_client.types.Unset, None, EntryReviewRecord] = attr_dict['_review_record'].default, schema: Union[benchling_api_client.types.Unset, None, EntrySchema] = attr_dict['_schema'].default, web_url: Union[benchling_api_client.types.Unset, str] = attr_dict['_web_url'].default) None

Method generated by attrs for class Entry.

property additional_keys: List[str]
additional_properties: Dict[str, Any]
property api_url: str

The canonical url of the Entry in the API.

property archive_record: Optional[ArchiveRecord]
property assigned_reviewers: List[UserSummary]

Array of users assigned to review the entry, if any.

property authors: List[UserSummary]

Array of UserSummary Resources of the authors of the entry. This defaults to the creator but can be manually changed.

property created_at: datetime

DateTime the entry was created at

property creator: UserSummary
property custom_fields: CustomFields
property days: List[EntryDay]

Array of day objects. Each day object has a date field (string) and notes field (array of notes, expand further for details on note types).

property display_id: str

User-friendly ID of the entry

property entry_template_id: Optional[str]

ID of the Entry Template this Entry was created from

property fields: Fields
property folder_id: str

ID of the folder that contains the entry

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

ID of the entry

property modified_at: str

DateTime the entry was last modified

property name: str

Title of the entry

property review_record: Optional[EntryReviewRecord]

Review record if set

property schema: Optional[EntrySchema]

Entry schema

to_dict() Dict[str, Any]
property web_url: str

URL of the entry