Skip to content

Commit

Permalink
feat(model): generalize note_author_participant_id
Browse files Browse the repository at this point in the history
  • Loading branch information
kota-yata committed Nov 15, 2023
1 parent f8314be commit 147d842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion birdxplorer/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 147d842

Please sign in to comment.