cs-models 0.0.785__py3-none-any.whl → 0.0.787__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.
- cs_models/resources/MeetingDataOutbox/models.py +2 -0
- cs_models/resources/MeetingDataOutbox/schemas.py +2 -0
- cs_models/resources/UserMeeting/__init__.py +0 -0
- cs_models/resources/UserMeeting/models.py +31 -0
- cs_models/resources/UserMeeting/schemas.py +12 -0
- {cs_models-0.0.785.dist-info → cs_models-0.0.787.dist-info}/METADATA +1 -1
- {cs_models-0.0.785.dist-info → cs_models-0.0.787.dist-info}/RECORD +9 -6
- {cs_models-0.0.785.dist-info → cs_models-0.0.787.dist-info}/WHEEL +0 -0
- {cs_models-0.0.785.dist-info → cs_models-0.0.787.dist-info}/top_level.txt +0 -0
|
@@ -42,6 +42,8 @@ class MeetingDataOutboxModel(Base):
|
|
|
42
42
|
error = Column(Text, nullable=True)
|
|
43
43
|
checks = Column(Text, nullable=True)
|
|
44
44
|
completed = Column(Boolean, nullable=True)
|
|
45
|
+
data_entry_type = Column(String(50), nullable=True)
|
|
46
|
+
note = Column(String(128), nullable=True)
|
|
45
47
|
updated_at = Column(
|
|
46
48
|
DateTime,
|
|
47
49
|
nullable=False,
|
|
@@ -22,4 +22,6 @@ class MeetingDataOutboxResourceSchema(Schema):
|
|
|
22
22
|
error = fields.String(allow_none=True)
|
|
23
23
|
checks = fields.String(allow_none=True)
|
|
24
24
|
completed = fields.Boolean(allow_none=True)
|
|
25
|
+
data_entry_type = fields.String(allow_none=True)
|
|
26
|
+
note = fields.String(allow_none=True)
|
|
25
27
|
updated_at = fields.DateTime()
|
|
File without changes
|
|
@@ -0,0 +1,31 @@
|
|
|
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 UserMeetingModel(Base):
|
|
15
|
+
__tablename__ = 'user_meetings'
|
|
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
|
+
notification_status = Column(Boolean, nullable=True)
|
|
25
|
+
updated_at = Column(
|
|
26
|
+
DateTime,
|
|
27
|
+
nullable=False,
|
|
28
|
+
# https://stackoverflow.com/questions/58776476/why-doesnt-freezegun-work-with-sqlalchemy-default-values
|
|
29
|
+
default=lambda: datetime.utcnow(),
|
|
30
|
+
onupdate=lambda: datetime.utcnow(),
|
|
31
|
+
)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from marshmallow import (
|
|
2
|
+
Schema,
|
|
3
|
+
fields,
|
|
4
|
+
)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class UserMeetingResourceSchema(Schema):
|
|
8
|
+
id = fields.Integer(dump_only=True)
|
|
9
|
+
user_id = fields.String(required=True)
|
|
10
|
+
meeting_id = fields.Integer(required=True)
|
|
11
|
+
notification_status = fields.Boolean(allow_none=True)
|
|
12
|
+
updated_at = fields.DateTime(dump_only=True)
|
|
@@ -557,8 +557,8 @@ cs_models/resources/MeetingBucket/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeR
|
|
|
557
557
|
cs_models/resources/MeetingBucket/models.py,sha256=OfjmVYISxesbvtu4E2bltlpvzFZluds7arFwjxma3S8,600
|
|
558
558
|
cs_models/resources/MeetingBucket/schemas.py,sha256=oZm2XHNaWEh-aoqPbsS405BGZoo06QGPtHNM6Jf-MkQ,312
|
|
559
559
|
cs_models/resources/MeetingDataOutbox/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
560
|
-
cs_models/resources/MeetingDataOutbox/models.py,sha256=
|
|
561
|
-
cs_models/resources/MeetingDataOutbox/schemas.py,sha256=
|
|
560
|
+
cs_models/resources/MeetingDataOutbox/models.py,sha256=63ufm1tWkuFdd1hX5Q6ZGhq1arSDEtw5NuhSj4TrmQk,1490
|
|
561
|
+
cs_models/resources/MeetingDataOutbox/schemas.py,sha256=1ToHOXl8XVS6l2uzkaAltDw_chkTUYJnKAx3mDiXsmc,984
|
|
562
562
|
cs_models/resources/MeetingDataOutboxRow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
563
563
|
cs_models/resources/MeetingDataOutboxRow/models.py,sha256=ZLxPVkhRlC8EOslippMynlCz3i2IZp06WVA73_DzBbo,725
|
|
564
564
|
cs_models/resources/MeetingDataOutboxRow/schemas.py,sha256=sxmswoTLBtpTV3d4ihRQwnIR96dmFKYglNvSpgtswAs,364
|
|
@@ -1070,6 +1070,9 @@ cs_models/resources/UserInternalDocWorkflow/schemas.py,sha256=I5waHOjEFRzcEeJ1kP
|
|
|
1070
1070
|
cs_models/resources/UserLLMUse/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1071
1071
|
cs_models/resources/UserLLMUse/models.py,sha256=PX7xvU74zIA5ZgE8kDhdHtKWfJoM2VubtOuJpfV4A7w,810
|
|
1072
1072
|
cs_models/resources/UserLLMUse/schemas.py,sha256=rkBf5fPyxCzevEKeVsB74Nv98ILWQwR2IJ0Q9UwYGDc,498
|
|
1073
|
+
cs_models/resources/UserMeeting/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1074
|
+
cs_models/resources/UserMeeting/models.py,sha256=plSpZ3QGCTr3-TRqyurLAZbUCbeGGDXRrZLtz4irQMg,765
|
|
1075
|
+
cs_models/resources/UserMeeting/schemas.py,sha256=MEA6lspQ6z4qPLHPHXiP_2EannozVL6_uhR3Hs40psE,332
|
|
1073
1076
|
cs_models/resources/UserNote/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1074
1077
|
cs_models/resources/UserNote/models.py,sha256=4p_FpkJiuXOd-gak3gIUeeJc-cAyno8UDxXR3KBXPr8,744
|
|
1075
1078
|
cs_models/resources/UserNote/schemas.py,sha256=9ddZrnjQ98R6DnByCSa5-dzDznLkkPVGQAgw7_3grkQ,317
|
|
@@ -1276,7 +1279,7 @@ cs_models/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
1276
1279
|
cs_models/utils/alchemy.py,sha256=fhINGFn41owJ2DLXQKXAAtLqeZ1BRzD_qU0wPK_bsGQ,1598
|
|
1277
1280
|
cs_models/utils/utils.py,sha256=BzCDk3u1np7DoJQqCZIJN4f80JNHvJoWO4qEFgolN-8,4474
|
|
1278
1281
|
cs_models/utils/profiling/__init__.py,sha256=N-73vb0M92C975fxgXyBCBjCPELl8Oh21ZY_-tzDnns,569
|
|
1279
|
-
cs_models-0.0.
|
|
1280
|
-
cs_models-0.0.
|
|
1281
|
-
cs_models-0.0.
|
|
1282
|
-
cs_models-0.0.
|
|
1282
|
+
cs_models-0.0.787.dist-info/METADATA,sha256=Jvm5qjcGKGt1qOh7FXql0S2pTOFKT-Z2HKQH4ArM_yc,751
|
|
1283
|
+
cs_models-0.0.787.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
1284
|
+
cs_models-0.0.787.dist-info/top_level.txt,sha256=M7CA8Nh5t0vRManQ9gHfphhO16uhMqIbfaxr1jPDg18,10
|
|
1285
|
+
cs_models-0.0.787.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|