pydpm_xl 0.1.39rc28__tar.gz → 0.1.39rc30__tar.gz
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.
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/PKG-INFO +1 -1
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Utils/ast_serialization.py +21 -9
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/__init__.py +1 -1
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/pydpm_xl.egg-info/PKG-INFO +1 -1
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/pyproject.toml +2 -2
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/LICENSE +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/README.md +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/AST/ASTConstructor.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/AST/ASTObjects.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/AST/ASTTemplate.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/AST/ASTVisitor.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/AST/MLGeneration.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/AST/ModuleAnalyzer.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/AST/ModuleDependencies.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/AST/WhereClauseChecker.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/AST/__init__.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/AST/check_operands.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/DataTypes/ScalarTypes.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/DataTypes/TimeClasses.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/DataTypes/TypePromotion.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/DataTypes/__init__.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Exceptions/__init__.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Exceptions/exceptions.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Exceptions/messages.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/OperationScopes/OperationScopeService.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/OperationScopes/__init__.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Operators/AggregateOperators.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Operators/BooleanOperators.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Operators/ClauseOperators.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Operators/ComparisonOperators.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Operators/ConditionalOperators.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Operators/NumericOperators.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Operators/Operator.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Operators/StringOperators.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Operators/TimeOperators.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Operators/__init__.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Utils/ValidationsGenerationUtils.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Utils/__init__.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Utils/operands_mapping.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Utils/operator_mapping.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Utils/tokens.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/Utils/utils.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/ValidationsGeneration/PropertiesConstraintsProcessor.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/ValidationsGeneration/Utils.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/ValidationsGeneration/VariantsProcessor.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/ValidationsGeneration/__init__.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/ValidationsGeneration/auxiliary_functions.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/api/__init__.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/api/ast_generator.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/api/complete_ast.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/api/data_dictionary.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/api/data_dictionary_validation.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/api/migration.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/api/operation_scopes.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/api/semantic.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/api/syntax.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/client.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/data_handlers.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/db_utils.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/grammar/__init__.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/grammar/dist/__init__.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/grammar/dist/dpm_xlLexer.interp +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/grammar/dist/dpm_xlLexer.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/grammar/dist/dpm_xlLexer.tokens +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/grammar/dist/dpm_xlParser.interp +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/grammar/dist/dpm_xlParser.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/grammar/dist/dpm_xlParser.tokens +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/grammar/dist/dpm_xlParserListener.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/grammar/dist/dpm_xlParserVisitor.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/grammar/dist/listeners.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/grammar/dpm_xlLexer.g4 +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/grammar/dpm_xlParser.g4 +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/migration.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/models.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/semantics/DAG/DAGAnalyzer.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/semantics/DAG/__init__.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/semantics/SemanticAnalyzer.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/semantics/Symbols.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/semantics/__init__.py +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/views/data_types.sql +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/views/datapoints.sql +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/views/hierarchy_operand_reference.sql +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/views/hierarchy_preconditions.sql +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/views/hierarchy_variables.sql +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/views/hierarchy_variables_context.sql +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/views/key_components.sql +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/views/module_from_table.sql +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/views/open_keys.sql +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/views/operation_info.sql +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/views/operation_list.sql +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/views/operations_versions_from_module_version.sql +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/views/precondition_info.sql +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/views/report_type_operand_reference_info.sql +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/views/subcategory_info.sql +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/views/table_info.sql +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/pydpm_xl.egg-info/SOURCES.txt +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/pydpm_xl.egg-info/dependency_links.txt +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/pydpm_xl.egg-info/entry_points.txt +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/pydpm_xl.egg-info/requires.txt +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/pydpm_xl.egg-info/top_level.txt +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/setup.cfg +0 -0
- {pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/tests/test_semantic_release.py +0 -0
|
@@ -356,11 +356,29 @@ class ASTToJSONVisitor(NodeVisitor):
|
|
|
356
356
|
|
|
357
357
|
def visit_AggregationOp(self, node):
|
|
358
358
|
"""Visit AggregationOp nodes."""
|
|
359
|
-
|
|
359
|
+
result = {
|
|
360
360
|
'class_name': 'AggregationOp',
|
|
361
361
|
'op': node.op,
|
|
362
|
-
'operand': self.visit(node.operand)
|
|
362
|
+
'operand': self.visit(node.operand),
|
|
363
363
|
}
|
|
364
|
+
# Add grouping_clause if present and has actual components
|
|
365
|
+
if hasattr(node, 'grouping_clause') and node.grouping_clause is not None:
|
|
366
|
+
gc = self.visit(node.grouping_clause)
|
|
367
|
+
# Only include grouping_clause if it has components
|
|
368
|
+
if gc and gc.get('components'):
|
|
369
|
+
result['grouping_clause'] = gc
|
|
370
|
+
return result
|
|
371
|
+
|
|
372
|
+
def visit_GroupingClause(self, node):
|
|
373
|
+
"""Visit GroupingClause nodes."""
|
|
374
|
+
components = getattr(node, 'components', None)
|
|
375
|
+
if components:
|
|
376
|
+
return {
|
|
377
|
+
'class_name': 'GroupingClause',
|
|
378
|
+
'components': components
|
|
379
|
+
}
|
|
380
|
+
# Return None for empty grouping clauses (will be filtered out)
|
|
381
|
+
return None
|
|
364
382
|
|
|
365
383
|
def visit_ComplexNumericOp(self, node):
|
|
366
384
|
"""Visit ComplexNumericOp nodes (max, min)."""
|
|
@@ -417,17 +435,11 @@ class ASTToJSONVisitor(NodeVisitor):
|
|
|
417
435
|
|
|
418
436
|
def visit_Dimension(self, node):
|
|
419
437
|
"""Visit Dimension nodes (used in WHERE clauses)."""
|
|
420
|
-
|
|
438
|
+
return {
|
|
421
439
|
'class_name': 'Dimension',
|
|
422
440
|
'dimension_code': node.dimension_code
|
|
423
441
|
}
|
|
424
442
|
|
|
425
|
-
# Include property_id if present
|
|
426
|
-
if hasattr(node, 'property_id') and node.property_id is not None:
|
|
427
|
-
result['property_id'] = node.property_id
|
|
428
|
-
|
|
429
|
-
return result
|
|
430
|
-
|
|
431
443
|
def visit_TimeShiftOp(self, node):
|
|
432
444
|
"""Visit TimeShiftOp nodes."""
|
|
433
445
|
return {
|
|
@@ -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.1.
|
|
44
|
+
__version__ = "0.1.39rc30"
|
|
45
45
|
__author__ = "MeaningfulData S.L."
|
|
46
46
|
__email__ = "info@meaningfuldata.eu"
|
|
47
47
|
__license__ = "GPL-3.0-or-later"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pydpm_xl"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.39rc30"
|
|
4
4
|
description = "Python library for DPM-XL data processing and analysis"
|
|
5
5
|
authors = [
|
|
6
6
|
{name = "MeaningfulData S.L.", email = "info@meaningfuldata.eu"}
|
|
@@ -52,7 +52,7 @@ exclude = []
|
|
|
52
52
|
|
|
53
53
|
[tool.poetry]
|
|
54
54
|
name = "pydpm_xl"
|
|
55
|
-
version = "0.1.
|
|
55
|
+
version = "0.1.39rc30"
|
|
56
56
|
description = "Python library for DPM-XL data processing and analysis"
|
|
57
57
|
authors = ["MeaningfulData S.L. <info@meaningfuldata.eu>"]
|
|
58
58
|
readme = "README.md"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/ValidationsGeneration/VariantsProcessor.py
RENAMED
|
File without changes
|
|
File without changes
|
{pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/ValidationsGeneration/auxiliary_functions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/views/operations_versions_from_module_version.sql
RENAMED
|
File without changes
|
|
File without changes
|
{pydpm_xl-0.1.39rc28 → pydpm_xl-0.1.39rc30}/py_dpm/views/report_type_operand_reference_info.sql
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|