From 574de57e00800cc86e0c89d6c3ef570896044a02 Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Fri, 14 Jun 2024 12:47:00 +0400 Subject: [PATCH] black --- api/python/quilt3/admin/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/api/python/quilt3/admin/__init__.py b/api/python/quilt3/admin/__init__.py index 16b50d5fd89..29b03719588 100644 --- a/api/python/quilt3/admin/__init__.py +++ b/api/python/quilt3/admin/__init__.py @@ -1,6 +1,7 @@ """ APIs for Quilt administrators. 'Registry' refers to Quilt stack backend services, including identity management. """ + # This wraps code generated by aridne-codegen to provide a more user-friendly API. from datetime import datetime from typing import Annotated, Any, List, Literal, Optional, Union @@ -18,7 +19,6 @@ class ManagedRole: typename__: Literal["ManagedRole"] - @pydantic.dataclasses.dataclass class UnmanagedRole: id: str @@ -99,7 +99,9 @@ def create_user(name: str, email: str, role: str, extra_roles: Optional[List[str """ _handle_errors( - _get_client().create_user(input=_graphql_client.UserInput(name=name, email=email, role=role, extraRoles=extra_roles)) + _get_client().create_user( + input=_graphql_client.UserInput(name=name, email=email, role=role, extraRoles=extra_roles) + ) )