cs-models 0.0.572__py3-none-any.whl → 0.0.573__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.

Potentially problematic release.


This version of cs-models might be problematic. Click here for more details.

@@ -4,6 +4,7 @@ from sqlalchemy import (
4
4
  String,
5
5
  DateTime,
6
6
  Boolean,
7
+ ForeignKey,
7
8
  )
8
9
  from datetime import datetime
9
10
 
@@ -18,6 +19,11 @@ class UserWatchlistModel(Base):
18
19
  resource_type = Column(String(128), nullable=False, index=True)
19
20
  resource_id = Column(String(50), nullable=False, index=True)
20
21
  is_active = Column(Boolean, nullable=True)
22
+ saved_search_id = Column(
23
+ Integer,
24
+ ForeignKey('user_saved_searches.id'),
25
+ nullable=False,
26
+ )
21
27
  updated_at = Column(
22
28
  DateTime,
23
29
  nullable=False,
@@ -13,4 +13,5 @@ class UserWatchlistResourceSchema(Schema):
13
13
  resource_type = fields.String(required=True)
14
14
  resource_id = fields.String(required=True)
15
15
  is_active = fields.Boolean(required=True)
16
+ saved_search_id = fields.Integer(required=True)
16
17
  updated_at = fields.DateTime(dump_only=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cs-models
3
- Version: 0.0.572
3
+ Version: 0.0.573
4
4
  Summary: MySQL db models
5
5
  Home-page: https://github.com/mindgram/cs-models
6
6
  Author: Shrey Verma
@@ -805,8 +805,8 @@ cs_models/resources/UserSearchHistoryItem/models.py,sha256=GdNZsTEett2x_gU92iPbR
805
805
  cs_models/resources/UserSearchHistoryItem/schemas.py,sha256=e68GcY-1KV75VWwWCGryTufWXHL09h7b48UhxieoaUQ,747
806
806
  cs_models/resources/UserSearchHistoryItem/test_user_search_history_item.py,sha256=eoiVJpVS-_Fe6k2Bc1oCTc6gRggI1N1kc_trTNQ1w60,2904
807
807
  cs_models/resources/UserWatchlist/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
808
- cs_models/resources/UserWatchlist/models.py,sha256=hYylKBmu8OHvGWNaQkaC-J_ZRvLZCniWWj44XThV0VY,769
809
- cs_models/resources/UserWatchlist/schemas.py,sha256=eIA2vOEJ2_ipZFHn8AESnwEwGGneMtLLC7ZIgO1PCcM,476
808
+ cs_models/resources/UserWatchlist/models.py,sha256=XPWn6KgwcWfAaYuaEkK1sRw304DvKbLXnvn_MjO_Q-Y,908
809
+ cs_models/resources/UserWatchlist/schemas.py,sha256=gM4N7ClcMGvyaSzIg95SSOw1EbFdZ2tUbAke33FwtS8,528
810
810
  cs_models/resources/ViewConditionByTA/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
811
811
  cs_models/resources/ViewConditionByTA/models.py,sha256=CieIW5mvmvok4dbglxd-ijMVI7gx-6C057CViSjuWoQ,764
812
812
  cs_models/resources/ViewConditionByTA/schemas.py,sha256=Y0hoMeysHulflnPUchmDP0NDsSTKtIZH-UXRvp2fIRw,441
@@ -928,7 +928,7 @@ cs_models/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
928
928
  cs_models/utils/alchemy.py,sha256=fhINGFn41owJ2DLXQKXAAtLqeZ1BRzD_qU0wPK_bsGQ,1598
929
929
  cs_models/utils/utils.py,sha256=bY623DuzycfPQiaOQT2AxfANeWfwr5w76dBuQ813-ns,3664
930
930
  cs_models/utils/profiling/__init__.py,sha256=N-73vb0M92C975fxgXyBCBjCPELl8Oh21ZY_-tzDnns,569
931
- cs_models-0.0.572.dist-info/METADATA,sha256=3mkrYLztO5HTiKtrmUUjPdfNtGxVRb38c9mh5Bx5ZoI,791
932
- cs_models-0.0.572.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
933
- cs_models-0.0.572.dist-info/top_level.txt,sha256=M7CA8Nh5t0vRManQ9gHfphhO16uhMqIbfaxr1jPDg18,10
934
- cs_models-0.0.572.dist-info/RECORD,,
931
+ cs_models-0.0.573.dist-info/METADATA,sha256=tqdBotJAitkQ5DeJorHCs6Dg41cQirSGgi-3XTQTKUk,791
932
+ cs_models-0.0.573.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
933
+ cs_models-0.0.573.dist-info/top_level.txt,sha256=M7CA8Nh5t0vRManQ9gHfphhO16uhMqIbfaxr1jPDg18,10
934
+ cs_models-0.0.573.dist-info/RECORD,,