fastapi async

Other Community

Skill notes

Endpoints sempre async def. - Pydantic v2 (model_config, não Config antiga). - DB via Depends(get_session); nunca abrir session global. - HTTP externo: httpx.AsyncClient injetado, nunca requests. - response_model explícito em todo endpoint. - Erros via HTTPException ou exception handler global. - Background tasks pra trabalho assíncrono curto; queue real (Celery/RQ) pra trabalho longo.

--- > Source: alanpcf/cocada — distributed by TomeVault.

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Other
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
88 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@tomevault-io · no license declared
Token usage
Lean
Setup complexity
Plug-and-play
External API key
Not required
Operating systems
Unspecified (assume cross-platform)
Runtime requirements
No explicit requirements detected
Detected file/system behavior
  • Read-only
Network behavior
Local-only
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

Author source file SKILL.md
- Endpoints sempre `async def`.
- Pydantic v2 (`model_config`, não `Config` antiga).
- DB via `Depends(get_session)`; nunca abrir session global.
- HTTP externo: `httpx.AsyncClient` injetado, nunca `requests`.
- `response_model` explícito em todo endpoint.
- Erros via `HTTPException` ou exception handler global.
- Background tasks pra trabalho assíncrono curto; queue real (Celery/RQ) pra trabalho longo.

---
> Source: [alanpcf/cocada](https://github.com/alanpcf/cocada) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-22 -->

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.