Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Commit

Permalink
task/50 isorts
Browse files Browse the repository at this point in the history
  • Loading branch information
YehorI committed Sep 28, 2023
1 parent cb95a06 commit ce618f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions sapphire/storage/database/migrations/env.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import asyncio
from logging.config import fileConfig

from alembic import context
from sqlalchemy import pool
from sqlalchemy.engine import Connection
from sqlalchemy.ext.asyncio import async_engine_from_config

from alembic import context

# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
config = context.config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision: str = 'f49b1a9878de'
Expand Down
3 changes: 2 additions & 1 deletion sapphire/storage/database/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
from datetime import datetime
from typing import Literal, get_args

from sqlalchemy import Enum, ForeignKey, False_, Null
from sqlalchemy import Enum, False_, ForeignKey, Null
from sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column


class Base(DeclarativeBase):
pass

Expand Down

0 comments on commit ce618f9

Please sign in to comment.