sdk-python
sdk-python copied to clipboard
[Feature Request] Allow workflow logger to opt-out of sandboxing
Describe the solution you'd like
Some users have advanced logger handlers that cannot work in sandbox mode. I think we can add a temporalio.workflow.logger.unsafe_disable_sandbox()
call on the logger and if set, the process
call can be wrapped in with temporalio.workflow.unsafe.sandbox_unrestricted()
and workflow.unsafe.imports_passed_through()
.