Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatal1ty committed Oct 23, 2024
1 parent 47d51b8 commit e7b5623
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mashumaro/jsonschema/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,12 @@ def __post_serialize__(self, d: Dict[Any, Any]) -> Dict[Any, Any]:

@dataclass
class JSONObjectSchema(JSONSchema):
type: JSONSchemaInstanceType = JSONSchemaInstanceType.OBJECT
type: Optional[JSONSchemaInstanceType] = JSONSchemaInstanceType.OBJECT


@dataclass
class JSONArraySchema(JSONSchema):
type: JSONSchemaInstanceType = JSONSchemaInstanceType.ARRAY
type: Optional[JSONSchemaInstanceType] = JSONSchemaInstanceType.ARRAY


@dataclass
Expand Down

0 comments on commit e7b5623

Please sign in to comment.