Skip to content

Commit

Permalink
change return type pydantic field
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech committed Sep 15, 2020
1 parent 1a9eb3e commit 0066ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion record_api/apis.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ class Signature(BaseModel):

metadata: typing.Dict[str, int] = pydantic.Field(default_factory=dict)
return_type: typing.Optional[typing.Dict[str, typing.Union[str, typing.Dict]]] = pydantic.Field(
default_factory=type(None)
default_factory=dict
)

@pydantic.validator("pos_only_required")
Expand Down

0 comments on commit 0066ca7

Please sign in to comment.