Skip to content

Commit

Permalink
Merge pull request #36 from kota-yata/feature/10-generalize-note-auth…
Browse files Browse the repository at this point in the history
…or-participant-id

feat(model): generalize note_author_participant_id
  • Loading branch information
kota-yata authored Dec 4, 2023
2 parents f8314be + 147d842 commit ae1aaf8
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 ae1aaf8

Please sign in to comment.