benchling_sdk.services.v2.stable.app_service module¶
- class AppService¶
Bases:
benchling_sdk.services.v2.base_service.BaseService
Apps.
Create and manage Apps on your tenant.
See https://benchling.com/api/reference#/Apps
- archive(app_ids: Iterable[str], reason: BenchlingAppsArchiveReason) BenchlingAppsArchivalChange ¶
Archive Apps.
See https://benchling.com/api/reference#/Apps/archiveBenchlingApps
- bulk_create_app_configuration_items(items: Iterable[Union[AppConfigItemGenericCreate, AppConfigItemBooleanCreate, AppConfigItemIntegerCreate, AppConfigItemFloatCreate, AppConfigItemDateCreate, AppConfigItemDatetimeCreate, AppConfigItemJsonCreate, benchling_api_client.v2.extensions.UnknownType]]) AsyncTaskLink ¶
Bulk create app configuration items.
See https://benchling.com/api/reference#/Apps/bulkCreateAppConfigurationItems
- bulk_update_app_configuration_items(items: Iterable[Union[AppConfigItemGenericBulkUpdate, AppConfigItemBooleanBulkUpdate, AppConfigItemIntegerBulkUpdate, AppConfigItemFloatBulkUpdate, AppConfigItemDateBulkUpdate, AppConfigItemDatetimeBulkUpdate, AppConfigItemJsonBulkUpdate, benchling_api_client.v2.extensions.UnknownType]]) AsyncTaskLink ¶
Bulk update app configuration items.
See https://benchling.com/api/reference#/Apps/bulkUpdateAppConfigurationItems
- create(app: BenchlingAppCreate) BenchlingApp ¶
Create an App.
See https://benchling.com/api/reference#/Apps/createBenchlingApp
- create_app_configuration_item(configuration_item: Union[AppConfigItemGenericCreate, AppConfigItemBooleanCreate, AppConfigItemIntegerCreate, AppConfigItemFloatCreate, AppConfigItemDateCreate, AppConfigItemDatetimeCreate, AppConfigItemJsonCreate, benchling_api_client.v2.extensions.UnknownType]) Union[ArrayElementAppConfigItem, DateAppConfigItem, DatetimeAppConfigItem, JsonAppConfigItem, EntitySchemaAppConfigItem, FieldAppConfigItem, BooleanAppConfigItem, IntegerAppConfigItem, FloatAppConfigItem, TextAppConfigItem, GenericApiIdentifiedAppConfigItem, SecureTextAppConfigItem, benchling_api_client.v2.extensions.UnknownType] ¶
Create app configuration item.
See https://benchling.com/api/reference#/Apps/createAppConfigurationItem
- get_app_configuration_item_by_id(item_id: str) Union[ArrayElementAppConfigItem, DateAppConfigItem, DatetimeAppConfigItem, JsonAppConfigItem, EntitySchemaAppConfigItem, FieldAppConfigItem, BooleanAppConfigItem, IntegerAppConfigItem, FloatAppConfigItem, TextAppConfigItem, GenericApiIdentifiedAppConfigItem, SecureTextAppConfigItem, benchling_api_client.v2.extensions.UnknownType] ¶
Get app configuration.
See https://benchling.com/api/reference#/Apps/getAppConfigurationItemById
- get_by_id(app_id: str) BenchlingApp ¶
Get an App by ID.
See https://benchling.com/api/reference#/Apps/getBenchlingAppByID
- list_app_configuration_items(*, app_id: Optional[str] = None, ids: Optional[Iterable[str]] = None, page_size: Optional[int] = 50, modified_at: Optional[str] = None, sort: Optional[Union[str, ListAppConfigurationItemsSort]] = None) PageIterator[Union[ArrayElementAppConfigItem, DateAppConfigItem, DatetimeAppConfigItem, JsonAppConfigItem, EntitySchemaAppConfigItem, FieldAppConfigItem, BooleanAppConfigItem, IntegerAppConfigItem, FloatAppConfigItem, TextAppConfigItem, GenericApiIdentifiedAppConfigItem, SecureTextAppConfigItem, benchling_api_client.v2.extensions.UnknownType]] ¶
Get app configuration items.
See https://benchling.com/api/reference#/Apps/listAppConfigurationItems
- list_apps(*, page_size: Optional[int] = 50, sort: Optional[Union[str, ListBenchlingAppsSort]] = None, ids: Optional[Iterable[str]] = None, modified_at: Optional[str] = None, name: Optional[str] = None, name_includes: Optional[str] = None, namesany_of: Optional[Iterable[str]] = None, namesany_ofcase_sensitive: Optional[Iterable[str]] = None, creator_ids: Optional[str] = None, member_of: Optional[str] = None, admin_of: Optional[str] = None) PageIterator[BenchlingApp] ¶
List Apps.
See https://benchling.com/api/reference#/Apps/listBenchlingApps
- unarchive(app_ids: Iterable[str]) BenchlingAppsArchivalChange ¶
Unarchive Apps.
See https://benchling.com/api/reference#/Apps/unarchiveBenchlingApps
- update(app_id: str, app: BenchlingAppUpdate) BenchlingApp ¶
Update an Appâs metadata.
See https://benchling.com/api/reference#/Apps/patchBenchlingApp
- update_app_configuration_item(item_id: str, configuration_item: Union[AppConfigItemGenericUpdate, AppConfigItemBooleanUpdate, AppConfigItemIntegerUpdate, AppConfigItemFloatUpdate, AppConfigItemDateUpdate, AppConfigItemDatetimeUpdate, AppConfigItemJsonUpdate, benchling_api_client.v2.extensions.UnknownType]) Union[ArrayElementAppConfigItem, DateAppConfigItem, DatetimeAppConfigItem, JsonAppConfigItem, EntitySchemaAppConfigItem, FieldAppConfigItem, BooleanAppConfigItem, IntegerAppConfigItem, FloatAppConfigItem, TextAppConfigItem, GenericApiIdentifiedAppConfigItem, SecureTextAppConfigItem, benchling_api_client.v2.extensions.UnknownType] ¶
Update app configuration item.
See https://benchling.com/api/reference#/Apps/updateAppConfigurationItem