Skip to content

Commit

Permalink
revert changes to relative imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jimdale committed Apr 23, 2024
1 parent 4ec9aef commit d744e99
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 14 deletions.
12 changes: 6 additions & 6 deletions queryset_manager/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
import aiohttp
import requests

import crud
import models
import db
import remotes
import settings
import data_retriever
from . import crud
from . import models
from . import db
from . import remotes
from . import settings
from . import data_retriever

logger = logging.getLogger(__name__)

Expand Down
3 changes: 2 additions & 1 deletion queryset_manager/crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
from sqlalchemy.orm import Session
from toolz.functoolz import curry
import views_schema
import models

from . import models

class Exists(Exception):
pass
Expand Down
7 changes: 4 additions & 3 deletions queryset_manager/data_retriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
import aiohttp
from views_schema import viewser as schema
import pandas as pd
import models
import merge
import response_result

from . import models
from . import merge
from . import response_result

logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion queryset_manager/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import psycopg2
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
import settings
from . import settings

def get_con():
connection_parameters = [
Expand Down
2 changes: 1 addition & 1 deletion queryset_manager/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import pandas as pd

import constants
from . import constants

logger = logging.getLogger(__name__)

Expand Down
4 changes: 2 additions & 2 deletions queryset_manager/remotes.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
import requests
from requests.exceptions import HTTPError

import models
import ops
from . import models
from . import ops

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit d744e99

Please sign in to comment.