Skip to content

Commit

Permalink
Remove defstruct module param workaround.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterschutt authored and provinzkraut committed Jun 27, 2023
1 parent 0caf91b commit 3bf416c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litestar/_signature/models/msgspec_signature_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def create(
f"{fn_name}_signature_model",
struct_fields,
bases=(MsgspecSignatureModel,),
module=fn_module or "",
module=fn_module,
namespace={
"return_annotation": parsed_signature.return_type.annotation,
"dependency_name_set": dependency_names,
Expand Down

0 comments on commit 3bf416c

Please sign in to comment.