Skip to content

Commit

Permalink
Fix return type for __prepare__ method (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
francorbacho authored Jun 16, 2024
1 parent df4bb1a commit 2b4d209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource/_msg.pyi.em
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Metaclass_@(message.structure.namespaced_type.name)(type):
@@classmethod
def __prepare__(
cls, __name: str, __bases: typing.Tuple[type, ...], **kwargs: typing.Any
) -> typing.Mapping[str, typing.Any]: ...
) -> typing.MutableMapping[str, typing.Any]: ...
@[for constant in message.constants]@
@@property
def @(constant.name)(self) -> @(to_type_annotation(current_namespace, defined_classes, constant.type).getter): ...
Expand Down

0 comments on commit 2b4d209

Please sign in to comment.