From 147d84247603338e7caf5fc52e69b55390628993 Mon Sep 17 00:00:00 2001 From: kota-yata Date: Wed, 15 Nov 2023 13:10:48 +0900 Subject: [PATCH] feat(model): generalize note_author_participant_id --- birdxplorer/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/birdxplorer/models.py b/birdxplorer/models.py index 82adfd7..9fce8b8 100644 --- a/birdxplorer/models.py +++ b/birdxplorer/models.py @@ -522,7 +522,7 @@ class NotesValidationDifficulty(str, Enum): class Note(BaseModel): note_id: NoteId - note_author_participant_id: str = Field(pattern=r"^[0-9A-F]{64}$") + note_author_participant_id: ParticipantId created_at_millis: TwitterTimestamp tweet_id: str = Field(pattern=r"^[0-9]{9,19}$") believable: NotesBelievable