diff --git a/deevirt_schema/api/stats.py b/deevirt_schema/api/stats.py index b30a1af..2df0cce 100644 --- a/deevirt_schema/api/stats.py +++ b/deevirt_schema/api/stats.py @@ -16,4 +16,4 @@ class Stats(Stats): class MongoStats(Stats): model_config = ConfigDict(arbitrary_types_allowed=True) - created_at: time = Field(default=time.time(), alias='created_at') \ No newline at end of file + created_at: time = Field(default_factory=time.time(), alias='created_at') \ No newline at end of file diff --git a/setup.py b/setup.py index c159315..4539386 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import find_packages, setup setup( name='deevirt_schema', - version='0.1.17', + version='0.1.18', description='Deevirt Schema', url='https://git.celeonet.fr/Deevirt/deevirt_schema.git', author='Celeonet',