@@ -462,7 +462,7 @@ async def get_organization(self, org_id: Optional[str] = None) -> Organization:
462
462
463
463
Args:
464
464
org_id (Optional[str]): ID of the organization to query. If None, defaults to the
465
- currently-authed org.
465
+ currently-authed org.
466
466
467
467
Raises:
468
468
GRPCError: If the provided org_id is invalid, or not currently authed to.
@@ -548,8 +548,8 @@ async def create_organization_invite(self, email: str, authorizations: Optional[
548
548
Args:
549
549
email (str): The email address to send the invite to.
550
550
authorizations (Optional[List[viam.proto.app.Authorization]]): Specifications of the
551
- authorizations to include in the invite. If not provided, full owner permissions will
552
- be granted.
551
+ authorizations to include in the invite. If not provided, full owner permissions will
552
+ be granted.
553
553
554
554
Raises:
555
555
GRPCError: if an invalid email is provided, or if the user is already a member of the org.
@@ -1269,7 +1269,7 @@ async def list_authorizations(self, resource_ids: Optional[List[str]] = None) ->
1269
1269
1270
1270
Args:
1271
1271
resource_ids (Optional[List[str]]): IDs of the resources to retrieve authorizations from.
1272
- If None, defaults to all resources.
1272
+ If None, defaults to all resources.
1273
1273
1274
1274
Raises:
1275
1275
GRPCError: If an invalid resource ID is passed.
@@ -1287,7 +1287,7 @@ async def check_permissions(self, permissions: [List[AuthorizedPermissions]]) ->
1287
1287
1288
1288
Args:
1289
1289
permissions (List[viam.proto.app.AuthorizedPermissions]): the permissions to validate
1290
- (e.g., "read_organization", "control_robot")
1290
+ (e.g., "read_organization", "control_robot")
1291
1291
1292
1292
Raises:
1293
1293
GRPCError: If the list of permissions to validate is empty.
@@ -1408,7 +1408,7 @@ async def create_key(self, authorizations: List[APIKeyAuthorization], name: Opti
1408
1408
1409
1409
Args:
1410
1410
authorizations (List[viam.proto.app.Authorization]): A list of authorizations to associate
1411
- with the key.
1411
+ with the key.
1412
1412
name (Optional[str]): A name for the key. If None, defaults to the current timestamp.
1413
1413
1414
1414
Raises:
0 commit comments