pydpm_xl 0.2.1__py3-none-any.whl → 0.2.2__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.
- py_dpm/__init__.py +1 -1
- py_dpm/dpm/queries/tables.py +24 -4
- py_dpm/dpm_xl/ast/operands.py +3 -3
- {pydpm_xl-0.2.1.dist-info → pydpm_xl-0.2.2.dist-info}/METADATA +1 -1
- {pydpm_xl-0.2.1.dist-info → pydpm_xl-0.2.2.dist-info}/RECORD +9 -9
- {pydpm_xl-0.2.1.dist-info → pydpm_xl-0.2.2.dist-info}/WHEEL +0 -0
- {pydpm_xl-0.2.1.dist-info → pydpm_xl-0.2.2.dist-info}/entry_points.txt +0 -0
- {pydpm_xl-0.2.1.dist-info → pydpm_xl-0.2.2.dist-info}/licenses/LICENSE +0 -0
- {pydpm_xl-0.2.1.dist-info → pydpm_xl-0.2.2.dist-info}/top_level.txt +0 -0
py_dpm/__init__.py
CHANGED
|
@@ -41,7 +41,7 @@ Available packages:
|
|
|
41
41
|
- pydpm.api: Main APIs for migration, syntax, and semantic analysis
|
|
42
42
|
"""
|
|
43
43
|
|
|
44
|
-
__version__ = "0.2.
|
|
44
|
+
__version__ = "0.2.2"
|
|
45
45
|
__author__ = "MeaningfulData S.L."
|
|
46
46
|
__email__ = "info@meaningfuldata.eu"
|
|
47
47
|
__license__ = "GPL-3.0-or-later"
|
py_dpm/dpm/queries/tables.py
CHANGED
|
@@ -74,7 +74,12 @@ class TableQuery:
|
|
|
74
74
|
subq.c.table_code.isnot(None)
|
|
75
75
|
)
|
|
76
76
|
|
|
77
|
-
q = filter_by_release(
|
|
77
|
+
q = filter_by_release(
|
|
78
|
+
q,
|
|
79
|
+
start_col=subq.c.start_release,
|
|
80
|
+
end_col=subq.c.end_release,
|
|
81
|
+
release_id=release_id,
|
|
82
|
+
)
|
|
78
83
|
q = q.order_by(subq.c.table_code)
|
|
79
84
|
|
|
80
85
|
return BaseQuery(session, q)
|
|
@@ -91,7 +96,12 @@ class TableQuery:
|
|
|
91
96
|
subq.c.table_code == table_code, subq.c.row_code.isnot(None)
|
|
92
97
|
)
|
|
93
98
|
|
|
94
|
-
q = filter_by_release(
|
|
99
|
+
q = filter_by_release(
|
|
100
|
+
q,
|
|
101
|
+
start_col=subq.c.start_release,
|
|
102
|
+
end_col=subq.c.end_release,
|
|
103
|
+
release_id=release_id,
|
|
104
|
+
)
|
|
95
105
|
q = q.order_by(subq.c.row_code)
|
|
96
106
|
|
|
97
107
|
return BaseQuery(session, q)
|
|
@@ -108,7 +118,12 @@ class TableQuery:
|
|
|
108
118
|
subq.c.table_code == table_code, subq.c.column_code.isnot(None)
|
|
109
119
|
)
|
|
110
120
|
|
|
111
|
-
q = filter_by_release(
|
|
121
|
+
q = filter_by_release(
|
|
122
|
+
q,
|
|
123
|
+
start_col=subq.c.start_release,
|
|
124
|
+
end_col=subq.c.end_release,
|
|
125
|
+
release_id=release_id,
|
|
126
|
+
)
|
|
112
127
|
q = q.order_by(subq.c.column_code)
|
|
113
128
|
|
|
114
129
|
return BaseQuery(session, q)
|
|
@@ -127,7 +142,12 @@ class TableQuery:
|
|
|
127
142
|
subq.c.sheet_code != "",
|
|
128
143
|
)
|
|
129
144
|
|
|
130
|
-
q = filter_by_release(
|
|
145
|
+
q = filter_by_release(
|
|
146
|
+
q,
|
|
147
|
+
start_col=subq.c.start_release,
|
|
148
|
+
end_col=subq.c.end_release,
|
|
149
|
+
release_id=release_id,
|
|
150
|
+
)
|
|
131
151
|
q = q.order_by(subq.c.sheet_code)
|
|
132
152
|
|
|
133
153
|
return BaseQuery(session, q)
|
py_dpm/dpm_xl/ast/operands.py
CHANGED
|
@@ -208,9 +208,9 @@ class OperandsChecking(ASTTemplate, ABC):
|
|
|
208
208
|
# Apply release filter
|
|
209
209
|
query = filter_by_release(
|
|
210
210
|
query,
|
|
211
|
-
|
|
212
|
-
TableVersion.
|
|
213
|
-
|
|
211
|
+
start_col=TableVersion.startreleaseid,
|
|
212
|
+
end_col=TableVersion.endreleaseid,
|
|
213
|
+
release_id=self.release_id,
|
|
214
214
|
)
|
|
215
215
|
|
|
216
216
|
# Execute query and convert to DataFrame
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
py_dpm/__init__.py,sha256=
|
|
1
|
+
py_dpm/__init__.py,sha256=f5HSKe3TKudiLPviLZ9Tc47ePZMOG3hNRwQS7-UqbB8,1858
|
|
2
2
|
py_dpm/api/__init__.py,sha256=g0w2FOtETU1ZMuhGnbdgBmmTZwmWoBtBEDmkLR1t8sc,1824
|
|
3
3
|
py_dpm/api/explorer.py,sha256=1dBc2ZidcAR5DfPEBRiyVk54Xv9u_G9mU66u7PA9Z-E,86
|
|
4
4
|
py_dpm/api/semantic.py,sha256=QT0znXXa4ihqk4GmlmJQrdceCRy1o_3J17koW6rT5PE,1304
|
|
@@ -26,7 +26,7 @@ py_dpm/dpm/queries/explorer_queries.py,sha256=Co8CzdzlDrOL5-ZxY7_HoHPaP_j-xjLDSs
|
|
|
26
26
|
py_dpm/dpm/queries/filters.py,sha256=fxC2KLYpIvtmuyuJFb0te2ULiyDnQBZfVM79VQnr6qA,4901
|
|
27
27
|
py_dpm/dpm/queries/glossary.py,sha256=2SqKZghQTw-E8NWwHebDHuDC8BC389fGe-0UBIVfJ8Q,1571
|
|
28
28
|
py_dpm/dpm/queries/hierarchical_queries.py,sha256=FYO2p_OxZioynXW4nGCQ3UG3p3uzE28KdsmMaQSk1wk,31538
|
|
29
|
-
py_dpm/dpm/queries/tables.py,sha256=
|
|
29
|
+
py_dpm/dpm/queries/tables.py,sha256=oEucVoUsb3jbgYefqr8_3svy_9oRGRhWXxcBxd20NJU,4763
|
|
30
30
|
py_dpm/dpm_xl/__init__.py,sha256=fN3AvMthyaVC893iza5IMzi3uVuLer411WdmKor6tY4,158
|
|
31
31
|
py_dpm/dpm_xl/semantic_analyzer.py,sha256=vZjtEzCkGNZN20EoU8yDMee8vIwRhDxvN5-JhZFTFhI,15746
|
|
32
32
|
py_dpm/dpm_xl/symbols.py,sha256=XSAiFSffxfPcnGdEDYEMjJrrhEJeuNIeasmHBp5C5Fc,7637
|
|
@@ -36,7 +36,7 @@ py_dpm/dpm_xl/ast/ml_generation.py,sha256=Lw_1Btln2x1ewD9xH-2Ea4NJJP3PIqFoivWASX
|
|
|
36
36
|
py_dpm/dpm_xl/ast/module_analyzer.py,sha256=ZnldoYn-s41UMiJpcAV6hjIwH6fssZeOpc564epngg8,2872
|
|
37
37
|
py_dpm/dpm_xl/ast/module_dependencies.py,sha256=tbCqoDcE1n1lJOjtbpD3rNPkXrLk-k2rM5zyVwmsNpc,8355
|
|
38
38
|
py_dpm/dpm_xl/ast/nodes.py,sha256=5ob8MsCW0fPZgz9yP_6IgVTH2SGeoTk5VncJuQ2SgrE,25035
|
|
39
|
-
py_dpm/dpm_xl/ast/operands.py,sha256=
|
|
39
|
+
py_dpm/dpm_xl/ast/operands.py,sha256=UN69SQB0S8VG4sjQPz6CNfwjg1uDPEXqKsJtVIgiGGA,21128
|
|
40
40
|
py_dpm/dpm_xl/ast/template.py,sha256=QhYm7Jh_a-ws3kSmf0hqXFLzB_quO9GgKcmcFe22_fg,3045
|
|
41
41
|
py_dpm/dpm_xl/ast/visitor.py,sha256=yL9UpPMQlq8ToHR8COyFYpuSChnDRjnkQHbCyYX0tsY,509
|
|
42
42
|
py_dpm/dpm_xl/ast/where_clause.py,sha256=g3cslQ8vmlm0doqQ_ghjXzhzItc_xlC_bQ9odn87FGk,328
|
|
@@ -80,9 +80,9 @@ py_dpm/dpm_xl/validation/variants.py,sha256=LM_2U_sCf8rnlUyt6k4WQwSKj5eTJLt4Ba8q
|
|
|
80
80
|
py_dpm/exceptions/__init__.py,sha256=yDERfUxYW7NUUEiTQChGpuJx6abr7IDe2XUpwVFPtvM,416
|
|
81
81
|
py_dpm/exceptions/exceptions.py,sha256=6S3p-_i5O1oStvSMixt_JQG0xwTeSfBcdzrwL8yBy6Q,2413
|
|
82
82
|
py_dpm/exceptions/messages.py,sha256=UwY6QIK8c-POcDCc9HYbZFGArCIYAanUGNh2LNKPx3U,7534
|
|
83
|
-
pydpm_xl-0.2.
|
|
84
|
-
pydpm_xl-0.2.
|
|
85
|
-
pydpm_xl-0.2.
|
|
86
|
-
pydpm_xl-0.2.
|
|
87
|
-
pydpm_xl-0.2.
|
|
88
|
-
pydpm_xl-0.2.
|
|
83
|
+
pydpm_xl-0.2.2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
84
|
+
pydpm_xl-0.2.2.dist-info/METADATA,sha256=AG1po-jCkskQP5DFl49SMCF0y4QJHivL287Y3KLE3T0,7974
|
|
85
|
+
pydpm_xl-0.2.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
86
|
+
pydpm_xl-0.2.2.dist-info/entry_points.txt,sha256=6DDmBfw-AjtgvMHgq_I730i_LAAs_7-N3C95HD_bRr4,47
|
|
87
|
+
pydpm_xl-0.2.2.dist-info/top_level.txt,sha256=495PvWZRoKl2NvbQU25W7dqWIBHqY-mFMPt83uxPpcM,7
|
|
88
|
+
pydpm_xl-0.2.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|