Skip to content

Comments

[pull] main from SwanHubX:main#162

Merged
pull[bot] merged 1 commit intoxj63:mainfrom
SwanHubX:main
Jan 1, 2026
Merged

[pull] main from SwanHubX:main#162
pull[bot] merged 1 commit intoxj63:mainfrom
SwanHubX:main

Conversation

@pull
Copy link

@pull pull bot commented Jan 1, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

* Refactor client utilities and add experiment heartbeat

Moved client utility functions and models to a new utils.py file, including the safe_request decorator. Introduced a client heartbeat mechanism to keep experiments active, with integration in CloudPyCallback. Updated imports and improved type hinting for better maintainability.

* Add heartbeat interval parameter and improve cleanup

Added an interval parameter to create_client_heartbeat for configurable heartbeat timing. Improved CloudPyCallback.on_stop to check for heartbeat existence before canceling and joining, preventing potential errors.

* Fix typo in comment in client __init__.py

Corrected a typo in a comment to improve clarity and maintain code quality. No functional changes were made.
@pull pull bot locked and limited conversation to collaborators Jan 1, 2026
@pull pull bot added the ⤵️ pull label Jan 1, 2026
@pull pull bot merged commit fb51ee7 into xj63:main Jan 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant