Avatar for the PrefectHQ user
PrefectHQ
prefect
BlogDocsChangelog

Performance History

Latest Results

fix(schemas): keep Annotated field descriptions in flow parameter schemas A flow parameter declared as `Annotated[int, Field(description=...)]` ended up without a description in its parameter schema. `process_v2_params` only took the description from a `Field` default or the docstring and passed `description=None` otherwise; pydantic merges that field with the `Field` in `Annotated`, and the explicit `None` won. The description now comes from the `Field` default, then from the last `Field` in `Annotated` that has one, then from the docstring, so the `Annotated` form gets the same precedence as the `Field` default from #19281. The lookup runs after the `*args`/`**kwargs` wrapping, so a `Field` in their annotation keeps describing each value. Added tests for `process_v2_params` and for the whole schema from `parameter_schema`; they fail on `main` and pass with this change.
CassianoE:fix-annotated-field-description
10 hours ago
Merge branch 'main' into feat/fastapi-guard-security-middleware
rennf93:feat/fastapi-guard-security-middleware
1 day ago

Latest Branches

CodSpeed Performance Gauge
+23%
Keep `Annotated[T, Field(description=...)]` descriptions in flow parameter schemas#23809
11 hours ago
ae3d1e7
CassianoE:fix-annotated-field-description
CodSpeed Performance Gauge
+23%
CodSpeed Performance Gauge
+23%
1 day ago
4f1b6c9
VISHNU0906:fix/visit-collection-initvar-23797
© 2026 CodSpeed Technology
Home Terms Privacy Docs