Tasks
Maturity labels
- Now: Stable and supported in current releases.
- Preview: Usable today, but behavior and APIs may evolve.
- Planned: Not yet implemented.
Note
Status: Now
Define a typed task
>>> import omnipy as om
>>> @om.TaskTemplate()
... def plus_one(number: int) -> int:
... return number + 1
>>> plus_one.run(10)