artemis-model 0.1.118__py3-none-any.whl → 0.1.119__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.
@@ -1,5 +1,6 @@
1
1
  """Zone state schema."""
2
2
 
3
+ from datetime import datetime
3
4
  from typing import Annotated, Literal
4
5
 
5
6
  from pydantic import BaseModel, Field, field_validator
@@ -52,6 +53,15 @@ class PushedPlaylistDetails(BaseModel):
52
53
  default=None,
53
54
  description="The playlists of the pushed playlist",
54
55
  )
56
+ expire_at: datetime | None = Field(
57
+ default=None,
58
+ description="The expire time of the pushed playlist",
59
+ )
60
+ expiry_type: Literal["infinite", "auto_expire"] | None = Field(
61
+ default=None,
62
+ description="The expiry type of the pushed playlist",
63
+ )
64
+
55
65
 
56
66
  @field_validator("redis_details", mode="before")
57
67
  @classmethod
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: artemis-model
3
- Version: 0.1.118
3
+ Version: 0.1.119
4
4
  Summary:
5
5
  Author: Jukeboxy
6
6
  Requires-Python: >=3.10.6,<4.0.0
@@ -18,7 +18,7 @@ artemis_model/redis/bucket.py,sha256=DlmIf6GxfKq9CzcXmMx5IcviaqOTvuWwIb6lAVcZQGs
18
18
  artemis_model/redis/device.py,sha256=ZUiIyVmtWiEwayFIg9mktiFaVuHQ7Fg0rvSjjWyryCI,484
19
19
  artemis_model/redis/keys.py,sha256=bnlSaBCIakLCIlgTr8BlYJmKEtKKvtdr43QIJCLnc90,567
20
20
  artemis_model/redis/play_history.py,sha256=Jm0guS0UZDxfCXeWJ8vqcjjl93W_EeC7XcBXcclKPiE,1259
21
- artemis_model/redis/zone_state.py,sha256=Vj9vtnevss0W4Zytlmp3W4bYA09u8CcNxneyNL-J_bE,2593
21
+ artemis_model/redis/zone_state.py,sha256=Q0ylKkoMmfORhcSO06H0Jg2V80l9AqdZCzy8GXm2vVk,2912
22
22
  artemis_model/schedule.py,sha256=CkLHWz-BwvUY2EQCfoU4SymgCariPzoQdtRLITqBPmk,2451
23
23
  artemis_model/setting.py,sha256=EWzOmE31mLNWwmV_wmqttHPMycvQZW7SJUIozF2b8bo,1190
24
24
  artemis_model/sqs/__init__.py,sha256=nHpXQns64qQ5Cqjyo6w9fDGO_wWhprqn1bhKf3eWnio,17
@@ -27,6 +27,6 @@ artemis_model/track.py,sha256=QwUF0QKVn1I64648B-NI75-IzGQvnLt9B0emD4GnS6E,3757
27
27
  artemis_model/user.py,sha256=eqIdCiBJRNLjCwPPCn-gQ6si0O5JUBGfp9oWJL5zVW4,2131
28
28
  artemis_model/zone.py,sha256=iGRUtzUwKh9LHT3MOfzzg1DnkPBts_ZBzZVTi2EmIgs,2282
29
29
  artemis_model/zone_activity.py,sha256=IkB1Ggjb24-FXAd4pSOeyhngX54U9OtTdFTvm4DYL1A,1600
30
- artemis_model-0.1.118.dist-info/METADATA,sha256=oRMxK1FF5wT5dEmKVjaUhUp1W0bxUNzLBt7CutRB9EU,3445
31
- artemis_model-0.1.118.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
32
- artemis_model-0.1.118.dist-info/RECORD,,
30
+ artemis_model-0.1.119.dist-info/METADATA,sha256=upScAKAdL5ENWkl8LZw9R3jbKnPI4DX_LAAI9Y30Rs0,3445
31
+ artemis_model-0.1.119.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
32
+ artemis_model-0.1.119.dist-info/RECORD,,