cs-models 0.0.708__py3-none-any.whl → 0.0.709__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/{Figure → TableFigure}/models.py +7 -6
- cs_models/resources/{Figure → TableFigure}/schemas.py +6 -5
- {cs_models-0.0.708.dist-info → cs_models-0.0.709.dist-info}/METADATA +1 -1
- {cs_models-0.0.708.dist-info → cs_models-0.0.709.dist-info}/RECORD +7 -7
- /cs_models/resources/{Figure → TableFigure}/__init__.py +0 -0
- {cs_models-0.0.708.dist-info → cs_models-0.0.709.dist-info}/WHEEL +0 -0
- {cs_models-0.0.708.dist-info → cs_models-0.0.709.dist-info}/top_level.txt +0 -0
|
@@ -13,8 +13,8 @@ from sqlalchemy import (
|
|
|
13
13
|
from ...database import Base
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
class
|
|
17
|
-
__tablename__ = "
|
|
16
|
+
class TableFigureModel(Base):
|
|
17
|
+
__tablename__ = "table_figures"
|
|
18
18
|
|
|
19
19
|
id = Column(Integer, primary_key=True)
|
|
20
20
|
file_id = Column(
|
|
@@ -24,10 +24,11 @@ class FigureModel(Base):
|
|
|
24
24
|
)
|
|
25
25
|
source_type = Column(String(50), nullable=False)
|
|
26
26
|
source_id = Column(Integer, nullable=False)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
label = Column(String(50), nullable=True)
|
|
28
|
+
caption = Column(Text, nullable=True)
|
|
29
|
+
description = Column(Text, nullable=True)
|
|
30
|
+
content = Column(Text, nullable=True)
|
|
31
|
+
link = Column(String(255), nullable=True)
|
|
31
32
|
llm_processed = Column(Boolean, nullable=True)
|
|
32
33
|
updated_at = Column(
|
|
33
34
|
DateTime,
|
|
@@ -5,16 +5,17 @@ from marshmallow import (
|
|
|
5
5
|
)
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class TableFigureResourceSchema(Schema):
|
|
9
9
|
not_blank = validate.Length(min=1, error='Field cannot be blank')
|
|
10
10
|
|
|
11
11
|
id = fields.Integer(dump_only=True)
|
|
12
12
|
file_id = fields.Integer(required=True)
|
|
13
13
|
source_type = fields.String(required=True)
|
|
14
14
|
source_id = fields.Integer(required=True)
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
label = fields.String(allow_none=True)
|
|
16
|
+
caption = fields.String(allow_none=True)
|
|
17
|
+
description = fields.String(allow_none=True)
|
|
18
|
+
content = fields.String(allow_none=True)
|
|
19
|
+
link = fields.String(allow_none=True)
|
|
19
20
|
llm_processed = fields.Boolean(allow_none=True)
|
|
20
21
|
updated_at = fields.DateTime()
|
|
@@ -341,9 +341,6 @@ cs_models/resources/FederalCaseRef/__init__.py,sha256=0I8MBmiT-2pNtJYM8XF-xVjlOG
|
|
|
341
341
|
cs_models/resources/FederalCaseRef/models.py,sha256=SiaWm1dmdTA407y8vVzf2gkU6IHbvuU6ZnmBjt_hBug,771
|
|
342
342
|
cs_models/resources/FederalCaseRef/schemas.py,sha256=CjDlOyiRC_hT2ScdR9J_ln9TSVag_--ba9WEhGj3pXI,590
|
|
343
343
|
cs_models/resources/FederalCaseRef/test_federal_case_ref.py,sha256=XfeyHzwn0gGAB1QfDoRM1CFgCGfggJCWvt5A_xqn4qM,4115
|
|
344
|
-
cs_models/resources/Figure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
345
|
-
cs_models/resources/Figure/models.py,sha256=CSjZQFrRn5jpAsrX4rrf-GWN6t3aR8ouI9yk7QRun64,1011
|
|
346
|
-
cs_models/resources/Figure/schemas.py,sha256=S4KcUNmHwcuWLONWhiy8KrPDOgaNSCHRmHoniq2fRao,646
|
|
347
344
|
cs_models/resources/File/__init__.py,sha256=eODbmnbxhnyka2FlPZbF_KmHGVpSakqgHYw8sPqb_hs,5815
|
|
348
345
|
cs_models/resources/File/models.py,sha256=PMG9wkcIQHofZmAPJHx5LUNNFkXfy922sHWXRtIH6Ec,897
|
|
349
346
|
cs_models/resources/File/schemas.py,sha256=RyOtOd21lC00tN_SAuKiTSEbye4ukAD_Jq_3KGA2Xlk,1166
|
|
@@ -907,6 +904,9 @@ cs_models/resources/SubsidiarySponsorMapping/__init__.py,sha256=eQazWQtc47V22tJx
|
|
|
907
904
|
cs_models/resources/SubsidiarySponsorMapping/models.py,sha256=nzTbV96Dy25NmvFrWzrJmcY16q1aXVDH6ZnpHSYUovY,792
|
|
908
905
|
cs_models/resources/SubsidiarySponsorMapping/schemas.py,sha256=RjiN4h8HMKsaGRVGWHrO_LdH6A5zzl2WfieEJJQv7I8,813
|
|
909
906
|
cs_models/resources/SubsidiarySponsorMapping/test_subsidiary_sponsor_mapping.py,sha256=vMCJDohlOdZaUxMuAnqRy6hEUepc_EE-6nVElM8WUtY,5977
|
|
907
|
+
cs_models/resources/TableFigure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
908
|
+
cs_models/resources/TableFigure/models.py,sha256=9QDvBIetzIrJFtCFx8E6azow5n62vTxD0vsNR0X8EKc,1036
|
|
909
|
+
cs_models/resources/TableFigure/schemas.py,sha256=VGt0vS84l8IXFG_qwbbCGZ-zqi8EhcqIixlCVCVv1z0,668
|
|
910
910
|
cs_models/resources/TableOutbox/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
911
911
|
cs_models/resources/TableOutbox/models.py,sha256=NAq51yqxx4tRWsIoPKSOhRXkAAX0Yom7146qOJ4fX5E,837
|
|
912
912
|
cs_models/resources/TableOutbox/schemas.py,sha256=zTR8wSwu9YSgsZX2CH7wPi-toGAkJDAQMPcYwBzWX8g,546
|
|
@@ -1174,7 +1174,7 @@ cs_models/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
1174
1174
|
cs_models/utils/alchemy.py,sha256=fhINGFn41owJ2DLXQKXAAtLqeZ1BRzD_qU0wPK_bsGQ,1598
|
|
1175
1175
|
cs_models/utils/utils.py,sha256=bY623DuzycfPQiaOQT2AxfANeWfwr5w76dBuQ813-ns,3664
|
|
1176
1176
|
cs_models/utils/profiling/__init__.py,sha256=N-73vb0M92C975fxgXyBCBjCPELl8Oh21ZY_-tzDnns,569
|
|
1177
|
-
cs_models-0.0.
|
|
1178
|
-
cs_models-0.0.
|
|
1179
|
-
cs_models-0.0.
|
|
1180
|
-
cs_models-0.0.
|
|
1177
|
+
cs_models-0.0.709.dist-info/METADATA,sha256=85Q2DUnT4GHLwoHCKQaYoTB6qHiSkA48RSKopYqzaao,792
|
|
1178
|
+
cs_models-0.0.709.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
1179
|
+
cs_models-0.0.709.dist-info/top_level.txt,sha256=M7CA8Nh5t0vRManQ9gHfphhO16uhMqIbfaxr1jPDg18,10
|
|
1180
|
+
cs_models-0.0.709.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|