Create context managers for:
Resource management: ${{RESOURCES}}
Use cases: ${{USE_CASES}}
Implement:
- Class-based context managers
- contextlib decorators
- Async context managers
- Nested contexts
- Exception handling
- Resource cleanup
- Reentrant contexts
- Testing patternsOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{RESOURCES][{USE_CASES]