Skip to content

Commit

Permalink
fix SQLAlchemy warning about declarative_base moved in 2.0 (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-schick authored Feb 27, 2023
1 parent c5743c7 commit 86b0fa6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mara_pipelines/incremental_processing/file_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from typing import List

import sqlalchemy
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import declarative_base

import mara_db.dbs
from .. import config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import List

import sqlalchemy
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import declarative_base

import mara_db.config
import mara_db.dbs
Expand Down
2 changes: 1 addition & 1 deletion mara_pipelines/incremental_processing/processed_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from typing import Dict

import sqlalchemy
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import declarative_base

import mara_db.config
import mara_db.dbs
Expand Down
2 changes: 1 addition & 1 deletion mara_pipelines/logging/run_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import List, Dict

import sqlalchemy.orm
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import declarative_base

from .. import config
from ..logging import pipeline_events, system_statistics
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ install_requires =
more-itertools>=3.1.0
psutil>=5.4.0
requests>=2.19.1
SQLAlchemy>=1.4

[options.package_data]
mara_pipelines = **/*.py, **/*.sql, ui/static/*
Expand Down

0 comments on commit 86b0fa6

Please sign in to comment.