This pull request adds a wrapper class that helps this decorator do what it needs to do while still passing the type check that is currently causing it to fail when run in a deployment, as mentioned in https://github.com/PrefectHQ/prefect/issues/7338. The update in this PR makes the decorator usable without requiring changes to Prefect.
This pull request adds a wrapper class that helps this decorator do what it needs to do while still passing the type check that is currently causing it to fail when run in a deployment, as mentioned in https://github.com/PrefectHQ/prefect/issues/7338. The update in this PR makes the decorator usable without requiring changes to Prefect.
Example
Checklist