Skip to content

Commit

Permalink
typing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
provinzkraut committed Sep 3, 2024
1 parent 8a889ce commit 855c331
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/unit/test_openapi/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,7 @@ class MyDataclass:
constrained_lower_case: annotated_types.LowerCase[str]
constrained_upper_case: annotated_types.UpperCase[str]
constrained_is_ascii: annotated_types.IsAscii[str]
constrained_is_ascii: annotated_types.IsAscii[str]
constrained_is_digit: annotated_types.IsDigits[str]
constrained_is_digit: annotated_types.IsDigit[str]

schema = get_schema_for_field_definition(FieldDefinition.from_kwarg(name="MyDataclass", annotation=MyDataclass))

Expand Down

0 comments on commit 855c331

Please sign in to comment.