Skip to content

Commit

Permalink
Blacken
Browse files Browse the repository at this point in the history
  • Loading branch information
scaramallion committed Nov 14, 2023
1 parent 4f60c68 commit 7d9e2df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions pynetdicom/association.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,7 @@
LOGGER = logging.getLogger("pynetdicom.assoc")
HandlerType = dict[
evt.EventType,
(
list[tuple[Callable, None | list[Any]]] |
tuple[Callable, None | list[Any]]
),
(list[tuple[Callable, None | list[Any]]] | tuple[Callable, None | list[Any]]),
]


Expand Down Expand Up @@ -1925,7 +1922,9 @@ def send_c_store(
return status

def _wrap_find_responses(
self, transfer_syntax: UID, query_model: UID,
self,
transfer_syntax: UID,
query_model: UID,
) -> Iterator[tuple[Dataset, None | Dataset]]:
"""Wrapper for the C-FIND response generator.
Expand Down
2 changes: 1 addition & 1 deletion pynetdicom/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
0xA900: (STATUS_FAILURE, "Identifier Does Not Match SOP Class"),
0xB001: (
STATUS_WARNING,
"Matching reached response limit, subsequent request may return additional matches"
"Matching reached response limit, subsequent request may return additional matches",
),
0xFF00: (STATUS_PENDING, "Matches are continuing, current match supplied"),
0xFF01: (STATUS_PENDING, "Matches are continuing, warning"),
Expand Down

0 comments on commit 7d9e2df

Please sign in to comment.