user's name and bio field are optional

get it together, mouse
This commit is contained in:
Mouse Reeve
2020-12-20 12:09:19 -08:00
parent 7f1ac33859
commit 60738011a2
4 changed files with 32 additions and 6 deletions

View File

@ -18,13 +18,13 @@ class PublicKey(ActivityObject):
class Person(ActivityObject):
''' actor activitypub json '''
preferredUsername: str
name: str
inbox: str
outbox: str
followers: str
summary: str
publicKey: PublicKey
endpoints: Dict
name: str = None
summary: str = None
icon: Image = field(default_factory=lambda: {})
bookwyrmUser: bool = False
manuallyApprovesFollowers: str = False