🚨 Cleanup imports

This commit is contained in:
Brian Wiborg 2025-10-01 20:49:44 +02:00
parent 2232726e7c
commit 16f15a3d65
No known key found for this signature in database
4 changed files with 10 additions and 9 deletions

View file

@ -1,2 +1 @@
from . import models
from . import routes
from . import models, routes

View file

@ -1,10 +1,11 @@
from ohmyapi.db import Model, field
from ohmyapi_auth.models import User
from datetime import datetime
from decimal import Decimal
from uuid import UUID
from ohmyapi_auth.models import User
from ohmyapi.db import Model, field
class Team(Model):
id: UUID = field.data.UUIDField(primary_key=True)

View file

@ -1,10 +1,10 @@
from ohmyapi.router import APIRouter, HTTPException, HTTPStatus
from typing import List
from ohmyapi.db.exceptions import DoesNotExist
from ohmyapi.router import APIRouter, HTTPException, HTTPStatus
from . import models
from typing import List
# Expose your app's routes via `router = fastapi.APIRouter`.
# Use prefixes wisely to avoid cross-app namespace-collisions.
# Tags improve the UX of the OpenAPI docs at /docs.

View file

@ -1,2 +1,3 @@
from fastapi import APIRouter, Depends, HTTPException
from http import HTTPStatus
from fastapi import APIRouter, Depends, HTTPException