benchling_sdk.services.v2.stable.team_service module¶

class TeamService¶

Bases: benchling_sdk.services.v2.base_service.BaseService

Teams.

View team objects.

See https://benchling.com/api/reference#/Teams

get_by_id(team_id: str) → Team¶

Get a team by ID.

See https://benchling.com/api/reference#/Teams/getTeam

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, mentioned_in: Optional[Iterable[str]] = None, organization_id: Optional[str] = None, has_members: Optional[Iterable[str]] = None, has_admins: Optional[Iterable[str]] = None, sort: Optional[Union[str, ListTeamsSort]] = None, page_size: Optional[int] = 50) → PageIterator[Team]¶

List teams.

Returns all teams that the caller has permission to view. The following roles have view permission: * tenant admins * members of the team’s organization

See https://benchling.com/api/reference#/Teams/listTeams