@@ -31,7 +31,7 @@ def read_organizations(
3131 session : SessionDep ,
3232 skip : int = Query (0 , ge = 0 ),
3333 limit : int = Query (100 , ge = 1 , le = 100 ),
34- )-> APIResponse [List [OrganizationPublic ]]:
34+ ) -> APIResponse [List [OrganizationPublic ]]:
3535 count_statement = select (func .count ()).select_from (Organization )
3636 count = session .exec (count_statement ).one ()
3737
@@ -49,7 +49,9 @@ def read_organizations(
4949 response_model = APIResponse [OrganizationPublic ],
5050 description = load_description ("organization/create.md" ),
5151)
52- def create_new_organization (* , session : SessionDep , org_in : OrganizationCreate ) -> APIResponse [OrganizationPublic ]:
52+ def create_new_organization (
53+ * , session : SessionDep , org_in : OrganizationCreate
54+ ) -> APIResponse [OrganizationPublic ]:
5355 new_org = create_organization (session = session , org_create = org_in )
5456 return APIResponse .success_response (new_org )
5557
@@ -60,7 +62,9 @@ def create_new_organization(*, session: SessionDep, org_in: OrganizationCreate)
6062 response_model = APIResponse [OrganizationPublic ],
6163 description = load_description ("organization/get.md" ),
6264)
63- def read_organization (* , session : SessionDep , org_id : int ) -> APIResponse [OrganizationPublic ]:
65+ def read_organization (
66+ * , session : SessionDep , org_id : int
67+ ) -> APIResponse [OrganizationPublic ]:
6468 """
6569 Retrieve an organization by ID.
6670 """
0 commit comments