Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: db client should be in the clients directory #17

Merged
merged 1 commit into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading