Skip to content

fix: Tasks outside runs#98

Merged
monoxgas merged 3 commits into
mainfrom
fix/tasks-outside-runs
Jul 7, 2025
Merged

fix: Tasks outside runs#98
monoxgas merged 3 commits into
mainfrom
fix/tasks-outside-runs

Conversation

@monoxgas
Copy link
Copy Markdown
Contributor

@monoxgas monoxgas commented Jul 7, 2025

  • Add the ability for tasks to execute outside of runs without raising errors in common __call__ scenarios

Generated Summary:

  • Updated metric value type in documentation from float to float | None to indicate optional values.
  • Changed run and object linking method usage in examples from run.link_objects() to dreadnode.link_objects(), ensuring consistency across usage.
  • Introduced checks for optional dependencies (like audio, image, and video processing) with clear error messages upon import failures, improving user experience.
  • Updated method signatures and examples to use dreadnode methods directly instead of instance methods for clarity and simplicity.
  • Modified string cleaning function to support @ character in addition to /, enhancing its utility in various contexts.
  • Added a span management feature in the Task class, helping to handle trace spans more effectively during asynchronous call handling.

This summary was generated with ❤️ by rigging

@dreadnode-renovate-bot dreadnode-renovate-bot Bot added area/docs Changes to documentation and guides type/docs Documentation updates and improvements labels Jul 7, 2025
@monoxgas monoxgas merged commit 8efe4cf into main Jul 7, 2025
9 checks passed
@monoxgas monoxgas deleted the fix/tasks-outside-runs branch July 7, 2025 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs Changes to documentation and guides type/docs Documentation updates and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant