Skip to content

Commit

Permalink
Merge pull request #23 from codeforjapan/feature/15-update-timestamp-…
Browse files Browse the repository at this point in the history
…of-last-earn-out

feat(models): add special type for timestamp_of_last_earn_out
  • Loading branch information
yu23ki14 authored Nov 1, 2023
2 parents b72501f + edd41a7 commit 38b5eca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion birdxplorer/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,15 @@ class EnrollmentState(str, Enum):


UserEnrollmentLastStateChangeTimeStamp = Union[TwitterTimestamp, Literal["0"], Literal["103308100"]]
UserEnrollmentLastEarnOutTimestamp = Union[TwitterTimestamp, Literal["1"]]


class UserEnrollment(BaseModel):
participant_id: ParticipantId
enrollment_state: EnrollmentState
successful_rating_needed_to_earn_in: str
timestamp_of_last_state_change: UserEnrollmentLastStateChangeTimeStamp
timestamp_of_last_earn_out: str
timestamp_of_last_earn_out: UserEnrollmentLastEarnOutTimestamp
modeling_population: str
modeling_group: str

Expand Down

0 comments on commit 38b5eca

Please sign in to comment.