Skip to content

Commit

Permalink
chore: beautify
Browse files Browse the repository at this point in the history
  • Loading branch information
abyrne committed Nov 9, 2023
1 parent 05634e1 commit 47fbf4b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/dioptra/restapi/group/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
from dioptra.restapi.app import db
from dioptra.restapi.group_membership.model import GroupMembership
from dioptra.restapi.user.model import User
from dioptra.restapi.utils import slugify


class Group(db.Model):
Expand Down
4 changes: 2 additions & 2 deletions src/dioptra/restapi/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ def register_routes(api: Api, app: Flask) -> None:
"""
from .auth import register_routes as attach_auth
from .experiment import register_routes as attach_experiment
from .group import register_routes as attach_group
from .group_membership import register_routes as attach_group_membership
from .job import register_routes as attach_job
from .queue import register_routes as attach_job_queue
from .task_plugin import register_routes as attach_task_plugin
from .user import register_routes as attach_user
from .group import register_routes as attach_group
from .group_membership import register_routes as attach_group_membership

attach_auth(api, app)
attach_experiment(api, app)
Expand Down
1 change: 0 additions & 1 deletion tests/unit/restapi/group/test_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
from dioptra.restapi.user.model import User



@pytest.fixture
def group_service() -> GroupService:
yield GroupService()
Expand Down

0 comments on commit 47fbf4b

Please sign in to comment.