We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db66658 commit 94529e6Copy full SHA for 94529e6
lib/py/bitprotolib/bp.py
@@ -191,7 +191,9 @@ class MessageBase(Accessor):
191
192
def to_dict(self) -> Dict[str, Any]:
193
"""Converts this message to a dict."""
194
- return asdict(self, dict_factory=getattr(self, "dict_factory", dict))
+ return asdict(
195
+ self, dict_factory=getattr(self, "dict_factory", dict) # type:ignore
196
+ )
197
198
def to_json(
199
self, indent: Optional[int] = None, separators: Optional[Tuple[str, str]] = None
0 commit comments