cs-models 0.0.538__py3-none-any.whl → 0.0.539__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/DeletedNewswire/__init__.py +0 -0
- cs_models/resources/DeletedNewswire/models.py +26 -0
- cs_models/resources/DeletedNewswire/schemas.py +16 -0
- {cs_models-0.0.538.dist-info → cs_models-0.0.539.dist-info}/METADATA +1 -1
- {cs_models-0.0.538.dist-info → cs_models-0.0.539.dist-info}/RECORD +7 -4
- {cs_models-0.0.538.dist-info → cs_models-0.0.539.dist-info}/WHEEL +0 -0
- {cs_models-0.0.538.dist-info → cs_models-0.0.539.dist-info}/top_level.txt +0 -0
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
from sqlalchemy import (
|
|
2
|
+
Column,
|
|
3
|
+
Integer,
|
|
4
|
+
String,
|
|
5
|
+
Text,
|
|
6
|
+
DateTime,
|
|
7
|
+
)
|
|
8
|
+
from datetime import datetime
|
|
9
|
+
|
|
10
|
+
from ...database import Base
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class DeletedNewswireModel(Base):
|
|
14
|
+
__tablename__ = 'deleted_newswires'
|
|
15
|
+
|
|
16
|
+
id = Column(Integer, primary_key=True)
|
|
17
|
+
date = Column(DateTime)
|
|
18
|
+
source = Column(String(128))
|
|
19
|
+
headline = Column(Text)
|
|
20
|
+
s3_key_name = Column(String(255), nullable=False)
|
|
21
|
+
updated_at = Column(
|
|
22
|
+
DateTime,
|
|
23
|
+
nullable=False,
|
|
24
|
+
default=datetime.utcnow,
|
|
25
|
+
onupdate=datetime.utcnow,
|
|
26
|
+
)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from marshmallow import (
|
|
2
|
+
Schema,
|
|
3
|
+
fields,
|
|
4
|
+
validate,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class DeletedNewswireResourceSchema(Schema):
|
|
9
|
+
not_blank = validate.Length(min=1, error="Field cannot be blank")
|
|
10
|
+
|
|
11
|
+
id = fields.Integer(dump_only=True)
|
|
12
|
+
date = fields.DateTime(required=True)
|
|
13
|
+
source = fields.String(required=True)
|
|
14
|
+
headline = fields.String(required=True)
|
|
15
|
+
s3_key_name = fields.String(required=True)
|
|
16
|
+
updated_at = fields.DateTime(dump_only=True)
|
|
@@ -189,6 +189,9 @@ cs_models/resources/DealInvestor/schemas.py,sha256=hThlFr7Hg2X6VEjK53SZrQ5NMV5gJ
|
|
|
189
189
|
cs_models/resources/DealOutbox/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
190
190
|
cs_models/resources/DealOutbox/models.py,sha256=3PnuNsjKp_nvw9IGL78rZW8__ENeBGQx4RkwPiKpLMs,1252
|
|
191
191
|
cs_models/resources/DealOutbox/schemas.py,sha256=E6eSdxC-GlbxJbyMRYfFTzvgsFbpID8ZgPdw_DBitFk,1070
|
|
192
|
+
cs_models/resources/DeletedNewswire/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
193
|
+
cs_models/resources/DeletedNewswire/models.py,sha256=20zn6yUFs_B8bqRd5nV-_LgyDdbBYoDgone_KIG3y-Y,551
|
|
194
|
+
cs_models/resources/DeletedNewswire/schemas.py,sha256=VjG28yYbxusxJicPNkH2xvjBokXzvwSIgaEqjhGY0qM,448
|
|
192
195
|
cs_models/resources/Designation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
193
196
|
cs_models/resources/Designation/models.py,sha256=HZiq3RGhQJfAllCq0uXffHBImkUsBWWi2wgwgzAZxhI,801
|
|
194
197
|
cs_models/resources/Designation/schemas.py,sha256=CEsHYT0DX9PJq8I879aglG_JEWiUxixMyXdmPQX296M,433
|
|
@@ -878,7 +881,7 @@ cs_models/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
878
881
|
cs_models/utils/alchemy.py,sha256=fhINGFn41owJ2DLXQKXAAtLqeZ1BRzD_qU0wPK_bsGQ,1598
|
|
879
882
|
cs_models/utils/utils.py,sha256=bY623DuzycfPQiaOQT2AxfANeWfwr5w76dBuQ813-ns,3664
|
|
880
883
|
cs_models/utils/profiling/__init__.py,sha256=N-73vb0M92C975fxgXyBCBjCPELl8Oh21ZY_-tzDnns,569
|
|
881
|
-
cs_models-0.0.
|
|
882
|
-
cs_models-0.0.
|
|
883
|
-
cs_models-0.0.
|
|
884
|
-
cs_models-0.0.
|
|
884
|
+
cs_models-0.0.539.dist-info/METADATA,sha256=RMox4RxMtsynvJ1HNvxAEOUHfalnzBspnKBntWQA3Nc,796
|
|
885
|
+
cs_models-0.0.539.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
886
|
+
cs_models-0.0.539.dist-info/top_level.txt,sha256=M7CA8Nh5t0vRManQ9gHfphhO16uhMqIbfaxr1jPDg18,10
|
|
887
|
+
cs_models-0.0.539.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|