Skip to content

Commit

Permalink
fix: db client should be in the clients directory (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmelone authored Mar 7, 2024
1 parent f0db576 commit 936c88e
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion gantry/db/insert.py → gantry/clients/db/insert.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import aiosqlite

from gantry.db.get import get_node
from gantry.clients.db.get import get_node

logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion gantry/routes/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import aiosqlite

from gantry import db
from gantry.clients import db
from gantry.clients.gitlab import GitlabClient
from gantry.clients.prometheus import PrometheusClient
from gantry.clients.prometheus.util import IncompleteData
Expand Down
2 changes: 1 addition & 1 deletion gantry/tests/test_db.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from gantry.db.insert import insert_job, insert_node
from gantry.clients.db.insert import insert_job, insert_node
from gantry.tests.defs import db as defs


Expand Down

0 comments on commit 936c88e

Please sign in to comment.