Skip to content

fix(python): wire maximum_delay property setters (#539) - #540

Open
trippyogi wants to merge 2 commits into
open-rmf:mainfrom
trippyogi:fix/539-maximum-delay-setters
Open

fix(python): wire maximum_delay property setters (#539)#540
trippyogi wants to merge 2 commits into
open-rmf:mainfrom
trippyogi:fix/539-maximum-delay-setters

Conversation

@trippyogi

Copy link
Copy Markdown

Summary

  • Fix pybind def_property setters for RobotUpdateHandle.maximum_delay and FleetUpdateHandle.default_maximum_delay that took no value argument (every Python assignment raised TypeError).
  • Same pattern fixed on Confirmation.errors.
  • Add unit test covering setter arity and Confirmation round-trip.

Closes #539

Test plan

  • Build rmf_fleet_adapter_python
  • Run test_property_setters
  • Smoke: handle.maximum_delay = datetime.timedelta(seconds=5) succeeds

@mxgrey mxgrey added this to PMC Board Aug 3, 2026
@github-project-automation github-project-automation Bot moved this to Inbox in PMC Board Aug 3, 2026
maximum_delay, default_maximum_delay, and Confirmation.errors used
def_property setters with no value argument, so every Python assignment
raised TypeError. Wire setters to the real C++ overloads and add a
unit test for setter arity plus Confirmation round-trip.

Signed-off-by: Jeremy <peace@trippyogi.com>
@trippyogi
trippyogi force-pushed the fix/539-maximum-delay-setters branch from c89cf5f to 7cbef0f Compare August 3, 2026 22:26
@trippyogi
trippyogi marked this pull request as ready for review August 3, 2026 22:27
@mxgrey

mxgrey commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

@cardboardcode to review

@mxgrey mxgrey moved this from Inbox to In Review in PMC Board Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

rmf_fleet_adapter_python: maximum_delay / default_maximum_delay property setters take no value argument — every Python assignment raises TypeError

2 participants