Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MRG] Add convenience function Event.encoded_dataset() #888

Merged
merged 10 commits into from
Nov 17, 2023
Prev Previous commit
Fix missing import 2
  • Loading branch information
scaramallion committed Nov 17, 2023
commit f8a1f4d3df01b5bb1b64a8ff9b625df76015b1fa
2 changes: 1 addition & 1 deletion pynetdicom/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"""

from datetime import datetime
from io import BytesIO
import inspect
import logging
from pathlib import Path
Expand All @@ -18,7 +19,6 @@
from pynetdicom.dsutils import decode, create_file_meta, encode_file_meta

if TYPE_CHECKING: # pragma: no cover
from io import BytesIO
from pynetdicom.association import Association
from pynetdicom.dimse_messages import DIMSEMessage
from pynetdicom.dimse_primitives import (
Expand Down