Skip to content

Commit

Permalink
imports should not be relative
Browse files Browse the repository at this point in the history
  • Loading branch information
niklastheman committed May 17, 2024
1 parent f620257 commit 230859e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion fedn/network/api/v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from fedn.network.api.v1.package_routes import bp as package_bp
from fedn.network.api.v1.round_routes import bp as round_bp
from fedn.network.api.v1.session_routes import bp as session_bp
from fedn.network.api.v1.session_routes import session_store
from fedn.network.api.v1.status_routes import bp as status_bp
from fedn.network.api.v1.validation_routes import bp as validation_bp

Expand Down
2 changes: 1 addition & 1 deletion fedn/network/api/v1/session_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from fedn.network.storage.statestore.stores.session_store import SessionStore
from fedn.network.storage.statestore.stores.shared import EntityNotFound
from .model_routes import model_store
from ..shared import control
from fedn.network.api.shared import control

bp = Blueprint("session", __name__, url_prefix=f"/api/{api_version}/sessions")

Expand Down
2 changes: 1 addition & 1 deletion fedn/network/api/v1/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pymongo
from pymongo.database import Database

from ..shared import statestore_config, network_id
from fedn.network.api.shared import statestore_config, network_id

api_version = "v1"

Expand Down

0 comments on commit 230859e

Please sign in to comment.