artemis-model 0.1.73__py3-none-any.whl → 0.1.75__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
artemis_model/schedule.py CHANGED
@@ -33,3 +33,22 @@ class ScheduleSync(CustomSyncBase, ScheduleMixin):
33
33
 
34
34
  class Schedule(CustomBase, ScheduleMixin):
35
35
  pass
36
+
37
+
38
+ class SchedulePresetMixin(TimeStampMixin, AuditMixin):
39
+ """
40
+ This table is used to store preset schedules regarding location type.
41
+ """
42
+
43
+ id: Mapped[int] = mapped_column(autoincrement=True, primary_key=True, index=True)
44
+ type: Mapped[str] = mapped_column(nullable=False)
45
+ is_active: Mapped[bool] = mapped_column(default=True, nullable=False)
46
+ timesheet: Mapped[JSON] = mapped_column(JSON, nullable=True)
47
+
48
+
49
+ class SchedulePresetSync(CustomSyncBase, SchedulePresetMixin):
50
+ pass
51
+
52
+
53
+ class SchedulePreset(CustomBase, SchedulePresetMixin):
54
+ pass
@@ -1,12 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: artemis-model
3
- Version: 0.1.73
3
+ Version: 0.1.75
4
4
  Summary:
5
5
  Author: Jukeboxy
6
6
  Requires-Python: >=3.10.6,<4.0.0
7
7
  Classifier: Programming Language :: Python :: 3
8
8
  Classifier: Programming Language :: Python :: 3.11
9
9
  Classifier: Programming Language :: Python :: 3.12
10
+ Classifier: Programming Language :: Python :: 3.13
10
11
  Requires-Dist: alembic (>=1.13.1,<2.0.0)
11
12
  Requires-Dist: asyncpg (>=0.29.0,<0.30.0)
12
13
  Requires-Dist: greenlet (>=3.0.2,<4.0.0)
@@ -12,11 +12,11 @@ artemis_model/organization.py,sha256=hu9jKB2qu57BwN0sUUK13p3tC-Hqw9EghFMqjFP9Pr4
12
12
  artemis_model/otp.py,sha256=TjZ_EHeIedjsLIqyZTtzd0s6Uc-1dleMEV8DhzsW44o,1046
13
13
  artemis_model/permission.py,sha256=sEBRN-bQJl2TNtRJ5LRuySoEbW1lY4DCoyRk0nOM-kY,1503
14
14
  artemis_model/playlist.py,sha256=sXiXil3ezCuU-L9EI1URKIRUs1fnO2z9VuwILSxBBwI,5815
15
- artemis_model/schedule.py,sha256=Noj6CAcw4xJS8wvtiLiPNvQyzjImU8wuhKo0c6c2zb4,1155
15
+ artemis_model/schedule.py,sha256=pnoKDMlUh28o61I7kZddNYn6z-uqOt_ml1nbWxKVeRM,1722
16
16
  artemis_model/setting.py,sha256=McWbeDZP45km3VSSwP1BgAmmjO4qCL0pTnOmJVAz0WI,1265
17
17
  artemis_model/track.py,sha256=x8BHKDZl9uQmQH6DWpzH-SEsfecLghOBdBT7qXgN3d0,3865
18
18
  artemis_model/user.py,sha256=ZtZVwavSPoQmYM1_MarMULy-DJa2pH482G_G8su0b6c,2211
19
19
  artemis_model/zone.py,sha256=iGRUtzUwKh9LHT3MOfzzg1DnkPBts_ZBzZVTi2EmIgs,2282
20
- artemis_model-0.1.73.dist-info/METADATA,sha256=o6cclViFT7sfR-zevhPaIMSeABuoIYfIl2hXU2kj2xA,3351
21
- artemis_model-0.1.73.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
22
- artemis_model-0.1.73.dist-info/RECORD,,
20
+ artemis_model-0.1.75.dist-info/METADATA,sha256=nVZ_zhzENpnE98GrD2uixCoik0Df_zFVaLnOpQcyUaY,3402
21
+ artemis_model-0.1.75.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
22
+ artemis_model-0.1.75.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.9.0
2
+ Generator: poetry-core 1.9.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any