(20250117) Day-end push.
This commit is contained in:
@@ -179,12 +179,30 @@ class CoreAuthTokenModel(BaseModel):
|
||||
default = None
|
||||
)
|
||||
|
||||
syncAfterTs: AwareDatetime | None = Field(
|
||||
description = "the time (utc) after which this account becomes eligible for re-sync'ing",
|
||||
frozen = False,
|
||||
default = True
|
||||
)
|
||||
|
||||
lastSyncTs: AwareDatetime | None = Field(
|
||||
description = "the time at which this client's updates were last polled",
|
||||
frozen = False,
|
||||
default = None
|
||||
)
|
||||
|
||||
batchId: ObjectId | None = Field(
|
||||
description = "a batch id assigned when creds are picked for account data sync'ing",
|
||||
frozen = False,
|
||||
default = None
|
||||
)
|
||||
|
||||
batchTs: AwareDatetime | None = Field(
|
||||
description = "the time (utc) at which this record was picked for data sync'ing",
|
||||
frozen = False,
|
||||
default = None
|
||||
)
|
||||
|
||||
# ┏┓ ┏•
|
||||
# ┃ ┏┓┏┓╋┓┏┓
|
||||
# ┗┛┗┛┛┗┛┗┗┫
|
||||
@@ -204,6 +222,7 @@ class CoreAuthTokenModel(BaseModel):
|
||||
@field_validator(
|
||||
"firstRequestTs",
|
||||
"lastRequestTs", "firstRefreshTs", "lastRefreshTs",
|
||||
"batchTs", "lastSyncTs", "syncAfterTs",
|
||||
mode = "before"
|
||||
)
|
||||
def parse_date_time(cls, value):
|
||||
|
||||
Reference in New Issue
Block a user