Apply black formatting

This commit is contained in:
Nat Noordanus
2020-04-03 19:26:31 +02:00
parent 203105f048
commit b2b36c8575
2 changed files with 38 additions and 42 deletions

View File

@@ -712,7 +712,9 @@ class Message(ABC):
def FromString(cls: Type[T], data: bytes) -> T:
return cls().parse(data)
def to_dict(self, casing: Casing = Casing.CAMEL, include_default_values: bool = False) -> dict:
def to_dict(
self, casing: Casing = Casing.CAMEL, include_default_values: bool = False
) -> dict:
"""
Returns a dict representation of this message instance which can be
used to serialize to e.g. JSON. Defaults to camel casing for