diff --git a/docs/introduction.rst b/docs/introduction.rst index c75c47e..61fbeaf 100644 --- a/docs/introduction.rst +++ b/docs/introduction.rst @@ -66,7 +66,7 @@ into the destination handler and will be assembled into a file. A destination entity might still generate packets which need to be sent back to the source entity of the file transfer. However, it allows freedom of communcation like the source entity by leaving the actual transmission of generated packets to the user. The packets are returned to the user -using the :py:meth:`cfdppy.handler.source.DestHandler.get_next_packet` call. +using the :py:meth:`cfdppy.handler.dest.DestHandler.get_next_packet` call. The transaction will be finished for the following conditions: diff --git a/pyproject.toml b/pyproject.toml index 0ac8bcd..2d13773 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,8 +28,7 @@ classifiers = [ "Topic :: Scientific/Engineering" ] dependencies = [ - "spacepackets>=0.24.2, <0.25", - # "spacepackets @ git+https://github.com/us-irs/spacepackets-py@entity-id-tlv-eq", + "spacepackets>=0.24.2, <=0.25", "crcmod~=1.7", "deprecation~=2.1", ] diff --git a/src/cfdppy/__init__.py b/src/cfdppy/__init__.py index b32d4dc..55fe05c 100644 --- a/src/cfdppy/__init__.py +++ b/src/cfdppy/__init__.py @@ -1,6 +1,7 @@ """Please note that this module does not contain configuration helpers, for example to convert CLI or GUI parameters into the internalized CFDP classes. You can find all those helpers inside the :py:mod:`tmtccmd.config.cfdp` module.""" + from .defs import CfdpIndication, CfdpState from .request import PutRequest from .user import CfdpUserBase diff --git a/src/cfdppy/request.py b/src/cfdppy/request.py index 42d87e9..d673fe3 100644 --- a/src/cfdppy/request.py +++ b/src/cfdppy/request.py @@ -28,9 +28,9 @@ class PutRequest: dest_file: Optional[Path] trans_mode: Optional[TransmissionMode] closure_requested: Optional[bool] - seg_ctrl: Optional[ - SegmentationControl - ] = SegmentationControl.NO_RECORD_BOUNDARIES_PRESERVATION + seg_ctrl: Optional[SegmentationControl] = ( + SegmentationControl.NO_RECORD_BOUNDARIES_PRESERVATION + ) fault_handler_overrides: Optional[List[FaultHandlerOverrideTlv]] = None flow_label_tlv: Optional[FlowLabelTlv] = None msgs_to_user: Optional[List[MessageToUserTlv]] = None diff --git a/tests/test_src_handler.py b/tests/test_src_handler.py index 9f81eae..13d5341 100644 --- a/tests/test_src_handler.py +++ b/tests/test_src_handler.py @@ -46,7 +46,6 @@ class TransactionStartParams: class TestCfdpSourceHandler(TestCase): - """It should be noted that this only verifies the correct generation of PDUs. There is no reception handler in play here which would be responsible for generating the files from these PDUs