benchling_sdk.services.v2.stable.user_service module¶
- class UserService¶
Bases:
benchling_sdk.services.v2.base_service.BaseService
Users.
Benchling users.
See https://benchling.com/api/reference#/Users
- bulk_create(user_creates: Iterable[UserCreate]) AsyncTaskLink ¶
Bulk create users.
See https://benchling.com/api/reference#/Users/bulkCreateUsers
- bulk_update(user_updates: Iterable[UserBulkUpdate]) AsyncTaskLink ¶
Bulk update users.
See https://benchling.com/api/reference#/Users/bulkUpdateUsers
- create(user_create: UserCreate) User ¶
Create a user.
- get_user_activity(user_id: str) UserActivity ¶
Get activity metadata for a specific user.
See https://benchling.com/api/reference#/Users/getUserActivity
- get_warehouse_logins(user_id: str) GetUserWarehouseLoginsResponse_200 ¶
Return the list of warehouse credential summaries for this user.
See https://benchling.com/api/reference#/Users/getUserWarehouseLogins
- list(*, ids: Optional[Iterable[str]] = None, name: Optional[str] = None, name_includes: Optional[str] = None, names_any_of: Optional[Iterable[str]] = None, names_any_of_case_sensitive: Optional[Iterable[str]] = None, modified_at: Optional[str] = None, member_of: Optional[Iterable[str]] = None, admin_of: Optional[Iterable[str]] = None, handles: Optional[Iterable[str]] = None, email_any_of: Optional[Iterable[str]] = None, password_last_changed_at: Optional[str] = None, sort: Optional[ListUsersSort] = None, page_size: Optional[int] = 50, mentioned_in: Optional[List[str]] = None) PageIterator[User] ¶
List users.
- update(user_id: str, user_update: UserUpdate) User ¶
Update a user.