We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f53193 commit f3fec65Copy full SHA for f3fec65
.github/prompts/pydantic-annotated-fields.prompt.md
@@ -13,7 +13,7 @@ Follow these guidelines:
13
4. Add the import: `from common_library.basic_types import DEFAULT_FACTORY` if it's not already present.
14
5. If `Field()` has no parameters (empty), don't use Annotated at all. Just use: `field_name: field_type = default_value`.
15
6. Leave any model validations, `model_config` settings, and `field_validators` untouched.
16
-
+7. Must keep the original Field descriptions and validation parameters intact (except for the `default` parameter).
17
18
## Examples
19
0 commit comments