Expected fields

main
Bob Mottram 2024-06-09 18:52:28 +01:00
parent 99634b39dc
commit c2e300da8d
1 changed files with 53 additions and 2 deletions

View File

@ -4999,8 +4999,59 @@ def _novel_fields_for_person(nickname: str, domain: str,
posts_ctr = 0
fields = []
# TODO
expected_fields = []
expected_fields = (
'alsoKnownAs',
'attachment',
'capabilities',
'discoverable',
'endpoints',
'featured',
'followers',
'following',
'icon',
'id',
'image',
'inbox',
'manuallyApprovesFollowers',
'name',
'outbox',
'preferredUsername',
'publicKey',
'summary',
'tag',
'type',
'url',
'inReplyTo',
'published',
'attributedTo',
'to', 'cc',
'sensitive',
'atomUri',
'inReplyToAtomUri',
'conversation',
'content',
'contentMap',
'replies',
'localOnly',
'shares',
'actor',
'bcc',
'bto',
'context',
'object',
'source',
'directMessage',
'updated',
'likes',
'ignores',
'muted',
'endTime',
'votersCount',
'oneOf',
'bookmarks',
'formerRepresentations',
'anyOf'
)
for post_filename in posts_in_box:
post_filename = post_filename.name
if not post_filename.endswith('.json'):