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

@@ -23,6 +23,7 @@ class AssistantCommandTypeEnum(enum.Enum):
23
23
  LIST = "LIST"
24
24
  SMART_GRID = "SMART_GRID"
25
25
  DYNAMIC_TABLE = "DYNAMIC_TABLE"
26
+ FOLLOW_UP_QUESTIONS = "FOLLOW_UP_QUESTIONS"
26
27
 
27
28
 
28
29
  class AssistantCommandStatusEnum(enum.Enum):
File without changes
@@ -0,0 +1,36 @@
1
+ from sqlalchemy import (
2
+ Column,
3
+ Integer,
4
+ String,
5
+ DateTime,
6
+ ForeignKey,
7
+ Boolean,
8
+ )
9
+ from datetime import datetime
10
+
11
+ from ...database import Base
12
+
13
+
14
+ class UserMeetingFavoriteModel(Base):
15
+ __tablename__ = 'user_meeting_favorite'
16
+
17
+ id = Column(Integer, primary_key=True)
18
+ user_id = Column(String(128), nullable=False)
19
+ meeting_id = Column(
20
+ Integer,
21
+ ForeignKey('meetings.id'),
22
+ nullable=False,
23
+ )
24
+ pubmed_id = Column(
25
+ Integer,
26
+ ForeignKey('pubmed.id'),
27
+ nullable=False,
28
+ )
29
+ favorite_status = Column(Boolean, nullable=True)
30
+ updated_at = Column(
31
+ DateTime,
32
+ nullable=False,
33
+ # https://stackoverflow.com/questions/58776476/why-doesnt-freezegun-work-with-sqlalchemy-default-values
34
+ default=lambda: datetime.utcnow(),
35
+ onupdate=lambda: datetime.utcnow(),
36
+ )
@@ -0,0 +1,13 @@
1
+ from marshmallow import (
2
+ Schema,
3
+ fields,
4
+ )
5
+
6
+
7
+ class UserMeetingFavoriteResourceSchema(Schema):
8
+ id = fields.Integer(dump_only=True)
9
+ user_id = fields.String(required=True)
10
+ meeting_id = fields.Integer(required=True)
11
+ pubmed_id = fields.Integer(required=True)
12
+ favorite_status = fields.Boolean(allow_none=True)
13
+ 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.790
3
+ Version: 0.0.792
4
4
  Summary: MySQL db models
5
5
  Home-page: https://github.com/mindgram/cs-models
6
6
  Author: Shrey Verma
@@ -27,7 +27,7 @@ cs_models/resources/Assignee/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
27
27
  cs_models/resources/Assignee/models.py,sha256=_f0_UwzF1gbOlU0t0l-9UIi0E4vaIS5VsHeOxc698SE,617
28
28
  cs_models/resources/Assignee/schemas.py,sha256=N4_upICR1Cd_B45LHpOly7FEwWhAB1fXUP4y60OiezE,269
29
29
  cs_models/resources/AssistantCommand/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
- cs_models/resources/AssistantCommand/models.py,sha256=0lGTXyQ-Bz_CA9HiOojor5HgaySaVNGUV4Sw81SqWz4,2295
30
+ cs_models/resources/AssistantCommand/models.py,sha256=BZ1nYSIbo4cuWIUxXu0wwy9qymnlnBLx0sAmwisaVEk,2343
31
31
  cs_models/resources/AssistantCommand/schemas.py,sha256=miJ9NXIKYK4p0Oke5N3kEVuFI8uUZwGLVKb0UWcNlEw,3789
32
32
  cs_models/resources/AssistantCommandArtifact/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
33
  cs_models/resources/AssistantCommandArtifact/models.py,sha256=SxSjZA_y2SGzXv7YW-19-rCTzRBcUiPf5JzMK1B-xRg,808
@@ -1079,6 +1079,9 @@ cs_models/resources/UserLLMUse/schemas.py,sha256=rkBf5fPyxCzevEKeVsB74Nv98ILWQwR
1079
1079
  cs_models/resources/UserMeeting/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1080
1080
  cs_models/resources/UserMeeting/models.py,sha256=plSpZ3QGCTr3-TRqyurLAZbUCbeGGDXRrZLtz4irQMg,765
1081
1081
  cs_models/resources/UserMeeting/schemas.py,sha256=MEA6lspQ6z4qPLHPHXiP_2EannozVL6_uhR3Hs40psE,332
1082
+ cs_models/resources/UserMeetingFavorite/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1083
+ cs_models/resources/UserMeetingFavorite/models.py,sha256=iMICgCg8e6HVKv16KabOjqipZsG49UfsgPTJ5IU8aQA,881
1084
+ cs_models/resources/UserMeetingFavorite/schemas.py,sha256=cdvOxw_ZhyxOtIXCok9mTbCLr1r5bTWiv4hFZY9DPZ8,382
1082
1085
  cs_models/resources/UserNote/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1083
1086
  cs_models/resources/UserNote/models.py,sha256=4p_FpkJiuXOd-gak3gIUeeJc-cAyno8UDxXR3KBXPr8,744
1084
1087
  cs_models/resources/UserNote/schemas.py,sha256=9ddZrnjQ98R6DnByCSa5-dzDznLkkPVGQAgw7_3grkQ,317
@@ -1285,7 +1288,7 @@ cs_models/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1285
1288
  cs_models/utils/alchemy.py,sha256=fhINGFn41owJ2DLXQKXAAtLqeZ1BRzD_qU0wPK_bsGQ,1598
1286
1289
  cs_models/utils/utils.py,sha256=BzCDk3u1np7DoJQqCZIJN4f80JNHvJoWO4qEFgolN-8,4474
1287
1290
  cs_models/utils/profiling/__init__.py,sha256=N-73vb0M92C975fxgXyBCBjCPELl8Oh21ZY_-tzDnns,569
1288
- cs_models-0.0.790.dist-info/METADATA,sha256=WNvNglDPoRjiM_OQ77vEblBDRRW-MXbQPgPXUSanbaE,751
1289
- cs_models-0.0.790.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
1290
- cs_models-0.0.790.dist-info/top_level.txt,sha256=M7CA8Nh5t0vRManQ9gHfphhO16uhMqIbfaxr1jPDg18,10
1291
- cs_models-0.0.790.dist-info/RECORD,,
1291
+ cs_models-0.0.792.dist-info/METADATA,sha256=lw2m0Tv1j_ZbuwPRMtVwr38r6_gx_aeNa8euc8LHFnM,751
1292
+ cs_models-0.0.792.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
1293
+ cs_models-0.0.792.dist-info/top_level.txt,sha256=M7CA8Nh5t0vRManQ9gHfphhO16uhMqIbfaxr1jPDg18,10
1294
+ cs_models-0.0.792.dist-info/RECORD,,