Skip to content

Commit

Permalink
Bump pydantic forms
Browse files Browse the repository at this point in the history
  • Loading branch information
pboers1988 committed Oct 22, 2024
1 parent c30e38c commit c09c198
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ dependencies = [
"oauth2-lib~=2.2.0",
"tabulate==0.9.0",
"strawberry-graphql==0.232.2",
"pydantic-forms~=1.1.0",
"pydantic-forms~=1.1.1rc1",
]

description-file = "README.md"
Expand Down
2 changes: 2 additions & 0 deletions test/unit_tests/forms/test_display_subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class Form(FormPage):
summary: Summary

expected = {
"$defs": {"MigrationSummaryValue": {"properties": {}, "title": "MigrationSummaryValue", "type": "object"}},
"additionalProperties": False,
"properties": {
"display_sub": {
Expand All @@ -52,6 +53,7 @@ class Form(FormPage):
"type": "string",
},
"summary": {
"allOf": [{"$ref": "#/$defs/MigrationSummaryValue"}],
"format": "summary",
"default": None,
"type": "string",
Expand Down

0 comments on commit c09c198

Please sign in to comment.