Use None instead of empty dict for endpoint default value
This commit is contained in:
parent
0d8e1f0ae2
commit
ba09377041
2 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ class Person(ActivityObject):
|
|||
outbox: str
|
||||
followers: str
|
||||
publicKey: PublicKey
|
||||
endpoints: Dict = field(default_factory=lambda: {})
|
||||
endpoints: Dict = None
|
||||
name: str = None
|
||||
summary: str = None
|
||||
icon: Image = field(default_factory=lambda: {})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue