Skip to content

Commit

Permalink
fix: make lint
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkh committed Aug 22, 2023
1 parent d26e6ce commit 2366eb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions tdp_core/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from typing import Any

from flask import abort
from opentelemetry import trace
from sqlalchemy.exc import OperationalError, SQLAlchemyError
from sqlalchemy.orm import Session
from visyn_core import manager
Expand All @@ -10,8 +11,6 @@
from .sql_filter import filter_logic
from .utils import clean_query, secure_replacements

from opentelemetry import trace

tracer = trace.get_tracer(__name__)
_log = logging.getLogger(__name__)

Expand Down
3 changes: 1 addition & 2 deletions tdp_core/dbview.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
from typing import Any

import sqlalchemy
from opentelemetry import trace
from sqlalchemy.engine import Engine
from sqlalchemy.orm import sessionmaker
from visyn_core.security import current_user, is_logged_in

from .utils import clean_query

from opentelemetry import trace

tracer = trace.get_tracer(__name__)
_log = logging.getLogger(__name__)
REGEX_TYPE = type(re.compile(""))
Expand Down

0 comments on commit 2366eb5

Please sign in to comment.