global session to local session

This commit is contained in:
knst-kotov
2021-08-05 16:49:08 +00:00
parent a0e99e5ba9
commit 93c6f88435
6 changed files with 88 additions and 79 deletions

View File

@@ -4,7 +4,7 @@ from typing import Type
from sqlalchemy import String, Column, ForeignKey, types, UniqueConstraint
from orm.base import Base, REGISTRY, engine, global_session
from orm.base import Base, REGISTRY, engine
class ClassType(types.TypeDecorator):