modal.enable_output
enable_output()Context manager that enable output when using the Python SDK.
This will print to stdout and stderr things such as
- Logs from running functions
- Status of creating objects
- Map progress
Usage
app = modal.App()
with modal.enable_output():
with app.run():
...