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

get_by_id(user_id: str) → User¶

Get a user by ID.

See https://benchling.com/api/reference#/Users/getUser

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, sort: Optional[ListUsersSort] = None, page_size: Optional[int] = 50) → PageIterator[User]¶

List users.

See https://benchling.com/api/reference#/Users/listUsers