Python Best Practices Async Context Manager

Create async context managers for resource management using @asynccontextmanager decorator. Use when managing async resources, database sessions, file handles, connections, or any resource requiring automatic cleanup. Works with Python async/await patterns. Analyzes .py files with async with statements, AsyncIterator type hints, and try/finally patterns.

dawiddutoit Updated

File contents

dawiddutoit/custom-claude/tree/main/skills/python-best-practices-async-context-manager commit 4859b52760

Frequently asked questions

npx skillmds@latest add dawiddutoit/python-best-practices-async-context-manager