References
A topic collects the code and the documentation that rules and standards point at. botica refs show <topic, rule or standard> prints it.
| Topic |
Points at |
Cited by |
api-schemas API schemas that forbid extra fields |
code/app/api/v1/schemas/requests/users.py
code/app/api/v1/schemas/responses/users.py
code/app/api/v1/routers/users.py https://fastapi.tiangolo.com/tutorial/response-model/#return-type-and-data-filtering |
api-schemas-extra-forbid (BTFAST001), CES-4 |
in-memory-adapters In-memory adapters for tests |
code/app/core/users.py:17-30
code/tests/fakes/users.py
code/tests/test_users.py |
test-in-memory-adapters (BTTEST001), CES-64 |
llm Calls to a language model |
code/app/prompts/extract_parties.md
code/app/core/prompts.py
code/app/core/parties.py https://pydantic.dev/docs/ai/core-concepts/output/#structured-output https://pydantic.dev/docs/ai/core-concepts/agent/#instructions https://docs.python.org/3/library/importlib.resources.html#importlib.resources.files |
|
prefect Workflows with Prefect |
code/app/flows/documents.py
code/app/core/documents.py
code/app/deploy.py
code/app/runs.py
code/app/api/v1/routers/documents.py
code/app/automations.py https://docs.prefect.io/v3/advanced/logging-customization https://docs.prefect.io/v3/how-to-guides/workflows/state-change-hooks https://docs.prefect.io/v3/concepts/automations#templating-with-jinja https://docs.python.org/3/library/asyncio-task.html#task-groups |
|
settings-module Application settings in one module |
code/app/settings.py:11-23
code/app/settings.py:26-29
code/app/api/v1/routers/status.py https://fastapi.tiangolo.com/advanced/settings/#settings-and-testing |
settings-module (BTCONF001), CES-76 |
structured-logging Structured logging with structlog |
code/app/core/logger.py:28-49
code/app/core/logger.py:52-55 https://www.structlog.org/en/stable/getting-started.html#building-a-context https://www.structlog.org/en/stable/getting-started.html#rendering https://www.structlog.org/en/stable/api.html#structlog.dev.ConsoleRenderer |
log-get-logger (BTLOG001), log-no-print (BTLOG002), CES-45, CES-46, CES-74 |
typed-boundaries Typed values at the boundaries |
code/app/core/models.py:10-20
code/app/core/models.py:23-32 |
no-dict-alias (BTDM001), no-dict-call-return (BTDM002), no-dict-literal-return (BTDM003), no-dict-return-annotation (BTDM004), CES-79 |