Skip to content

Commit f3fec65

Browse files
committed
tuning
1 parent 5f53193 commit f3fec65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/prompts/pydantic-annotated-fields.prompt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Follow these guidelines:
1313
4. Add the import: `from common_library.basic_types import DEFAULT_FACTORY` if it's not already present.
1414
5. If `Field()` has no parameters (empty), don't use Annotated at all. Just use: `field_name: field_type = default_value`.
1515
6. Leave any model validations, `model_config` settings, and `field_validators` untouched.
16-
16+
7. Must keep the original Field descriptions and validation parameters intact (except for the `default` parameter).
1717

1818
## Examples
1919

0 commit comments

Comments
 (0)