Skip to content

Commit

Permalink
chore: run black,isort
Browse files Browse the repository at this point in the history
  • Loading branch information
jkglasbrenner committed Oct 10, 2024
1 parent f0a9aa5 commit 6262fc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/dioptra/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ def __init__(self, session: DioptraSession[T]) -> None:
self._tags = TagsCollectionClient[T](session)
self._groups = GroupsCollectionClient[T](session)
self._plugins = PluginsCollectionClient[T](session)
self._plugin_parameter_types = (
PluginParameterTypesCollectionClient[T](session)
)
self._plugin_parameter_types = PluginParameterTypesCollectionClient[T](session)
# self._experiments = ExperimentsCollectionClient[T](session)
# self._jobs = JobsCollectionClient[T](session)
# self._entrypoints = EntrypointsCollectionClient[T](session)
Expand Down
4 changes: 2 additions & 2 deletions src/dioptra/client/drafts.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ def create(
"Invalid argument (reason: keyword is reserved): group"
)

data: dict[str, Any] = ( # fmt: skip
data: dict[str, Any] = (
self._validate_group_id(group_id) | self._validate_fields(kwargs)
)
) # fmt: skip
return self._session.post(
self.build_sub_collection_url(*resource_ids), json_=data
)
Expand Down

0 comments on commit 6262fc8

Please sign in to comment.