artemis-model 0.1.70__py3-none-any.whl → 0.1.71__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/track.py
CHANGED
@@ -2,7 +2,7 @@ import uuid
|
|
2
2
|
from datetime import datetime
|
3
3
|
from typing import List
|
4
4
|
|
5
|
-
from sqlalchemy import UUID, Computed, ForeignKey, func, literal, text
|
5
|
+
from sqlalchemy import UUID, Computed, ForeignKey, func, literal, text, ARRAY, Integer
|
6
6
|
from sqlalchemy.orm import Mapped, mapped_column, relationship
|
7
7
|
|
8
8
|
from artemis_model.base import CustomBase, CustomSyncBase, TSVector, TimeStampMixin
|
@@ -32,6 +32,7 @@ class TrackMixin(TimeStampMixin):
|
|
32
32
|
is_internal: Mapped[bool] = mapped_column(nullable=False, default=False)
|
33
33
|
is_parental_advisory: Mapped[bool] = mapped_column(nullable=False, default=False)
|
34
34
|
decade: Mapped[int] = mapped_column(nullable=True)
|
35
|
+
mood: Mapped[list[int]] = mapped_column(ARRAY(Integer), nullable=True)
|
35
36
|
duration: Mapped[int] = mapped_column(nullable=True)
|
36
37
|
|
37
38
|
name_tsv = mapped_column(
|
@@ -14,9 +14,9 @@ artemis_model/permission.py,sha256=sEBRN-bQJl2TNtRJ5LRuySoEbW1lY4DCoyRk0nOM-kY,1
|
|
14
14
|
artemis_model/playlist.py,sha256=sXiXil3ezCuU-L9EI1URKIRUs1fnO2z9VuwILSxBBwI,5815
|
15
15
|
artemis_model/schedule.py,sha256=Noj6CAcw4xJS8wvtiLiPNvQyzjImU8wuhKo0c6c2zb4,1155
|
16
16
|
artemis_model/setting.py,sha256=McWbeDZP45km3VSSwP1BgAmmjO4qCL0pTnOmJVAz0WI,1265
|
17
|
-
artemis_model/track.py,sha256=
|
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.
|
21
|
-
artemis_model-0.1.
|
22
|
-
artemis_model-0.1.
|
20
|
+
artemis_model-0.1.71.dist-info/METADATA,sha256=SZGgV0sWZk2EWFQ0LAUNMA-xL8u5wIzgoAsZlSzcX54,3351
|
21
|
+
artemis_model-0.1.71.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
22
|
+
artemis_model-0.1.71.dist-info/RECORD,,
|
File without changes
|