Skip to content

Commit f7bd5ac

Browse files
committed
small fixes
1 parent 22d4f22 commit f7bd5ac

File tree

2 files changed

+0
-29
lines changed

2 files changed

+0
-29
lines changed

backend/app/api/routes/onboarding.py

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -48,34 +48,6 @@ class OnboardingResponse(BaseModel):
4848
api_key: str
4949

5050

51-
import uuid
52-
53-
from fastapi import APIRouter, Depends, HTTPException
54-
from pydantic import BaseModel, EmailStr
55-
from sqlmodel import Session
56-
57-
from app.crud import (
58-
create_organization,
59-
get_organization_by_name,
60-
create_project,
61-
create_user,
62-
create_api_key,
63-
get_api_key_by_user_org,
64-
)
65-
from app.models import (
66-
OrganizationCreate,
67-
ProjectCreate,
68-
UserCreate,
69-
APIKeyPublic,
70-
Organization,
71-
Project,
72-
User,
73-
)
74-
from app.api.deps import (
75-
SessionDep,
76-
get_current_active_superuser,
77-
)
78-
7951
router = APIRouter(tags=["onboarding"])
8052

8153

backend/app/tests/api/routes/test_onboarding.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ def test_create_user_existing_email(
7575
response = client.post(
7676
f"{settings.API_V1_STR}/onboard", json=data, headers=superuser_token_headers
7777
)
78-
print(response.json())
7978
assert response.status_code == 400
8079
assert (
8180
response.json()["error"]

0 commit comments

Comments
 (0)