Skip to content

Commit

Permalink
chore: run black and isort
Browse files Browse the repository at this point in the history
  • Loading branch information
jkglasbrenner committed Sep 10, 2024
1 parent 724d3d0 commit a052cb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/dioptra/client/queues.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ def __init__(self, session: DioptraSession[T]) -> None:
resource_name=self.name,
),
)
self._snapshots = SnapshotsSubEndpointClient[T](session=session, parent_endpoint=self)
self._snapshots = SnapshotsSubEndpointClient[T](
session=session, parent_endpoint=self
)
self._tags = TagsSubEndpointClient[T](session=session, parent_endpoint=self)

@property
Expand Down
4 changes: 1 addition & 3 deletions src/dioptra/client/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@ def create(self, group_id: int, name: str) -> T:

return self._session.post(self.url, json_=json_)

def modify_by_id(
self, tag_id: str | int, name: str
) -> T:
def modify_by_id(self, tag_id: str | int, name: str) -> T:
"""Modify the tag matching the provided id.
Args:
Expand Down

0 comments on commit a052cb2

Please sign in to comment.