Skip to content

Commit

Permalink
prep v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed Oct 29, 2024
1 parent 3fe8bc9 commit a221a44
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
Expand Down
1 change: 1 addition & 0 deletions src/cfdppy/__init__.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/cfdppy/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion tests/test_src_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a221a44

Please sign in to comment.