update MongoStats
This commit is contained in:
parent
00fe9c67c9
commit
d360dfc6b9
|
@ -14,6 +14,4 @@ class Stats(Stats):
|
||||||
memory:Memory = Field()
|
memory:Memory = Field()
|
||||||
|
|
||||||
class MongoStats(Stats):
|
class MongoStats(Stats):
|
||||||
model_config = ConfigDict(arbitrary_types_allowed=True)
|
created_at: Optional[float] = Field(default=None, alias='created_at')
|
||||||
|
|
||||||
created_at: time = Field(default_factory=time.time, alias='created_at')
|
|
Loading…
Reference in New Issue