informatica-python 1.10.1__tar.gz → 1.10.2__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.
Files changed (31) hide show
  1. {informatica_python-1.10.1 → informatica_python-1.10.2}/PKG-INFO +1 -1
  2. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python/generators/mapping_gen.py +1 -1
  3. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python.egg-info/PKG-INFO +1 -1
  4. {informatica_python-1.10.1 → informatica_python-1.10.2}/pyproject.toml +1 -1
  5. {informatica_python-1.10.1 → informatica_python-1.10.2}/tests/test_integration.py +1 -1
  6. {informatica_python-1.10.1 → informatica_python-1.10.2}/LICENSE +0 -0
  7. {informatica_python-1.10.1 → informatica_python-1.10.2}/README.md +0 -0
  8. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python/__init__.py +0 -0
  9. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python/cli.py +0 -0
  10. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python/converter.py +0 -0
  11. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python/generators/__init__.py +0 -0
  12. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python/generators/config_gen.py +0 -0
  13. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python/generators/error_log_gen.py +0 -0
  14. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python/generators/helper_gen.py +0 -0
  15. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python/generators/sql_gen.py +0 -0
  16. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python/generators/workflow_gen.py +0 -0
  17. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python/models.py +0 -0
  18. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python/parser.py +0 -0
  19. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python/utils/__init__.py +0 -0
  20. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python/utils/datatype_map.py +0 -0
  21. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python/utils/expression_converter.py +0 -0
  22. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python/utils/lib_adapters.py +0 -0
  23. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python/utils/sql_dialect.py +0 -0
  24. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python.egg-info/SOURCES.txt +0 -0
  25. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python.egg-info/dependency_links.txt +0 -0
  26. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python.egg-info/entry_points.txt +0 -0
  27. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python.egg-info/requires.txt +0 -0
  28. {informatica_python-1.10.1 → informatica_python-1.10.2}/informatica_python.egg-info/top_level.txt +0 -0
  29. {informatica_python-1.10.1 → informatica_python-1.10.2}/setup.cfg +0 -0
  30. {informatica_python-1.10.1 → informatica_python-1.10.2}/tests/test_converter.py +0 -0
  31. {informatica_python-1.10.1 → informatica_python-1.10.2}/tests/test_expressions.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: informatica-python
3
- Version: 1.10.1
3
+ Version: 1.10.2
4
4
  Summary: Convert Informatica PowerCenter workflow XML to Python/PySpark code
5
5
  Author: Nick
6
6
  License: MIT
@@ -830,7 +830,7 @@ def _gen_expression_transform(lines, tx, tx_safe, input_df, source_dfs, data_lib
830
830
  lines.append(f" df_{tx_safe} = {copy_expr}")
831
831
  for fld in active_fields:
832
832
  expr_vec = convert_expression_vectorized(fld.expression, f"df_{tx_safe}")
833
- lines.append(f" # {fld.name} = {fld.expression}")
833
+ lines.append(f' """{fld.name} = {fld.expression}"""')
834
834
  lines.append(f" df_{tx_safe}['{fld.name}'] = {expr_vec}")
835
835
  else:
836
836
  lines.append(f" df_{tx_safe} = {input_df}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: informatica-python
3
- Version: 1.10.1
3
+ Version: 1.10.2
4
4
  Summary: Convert Informatica PowerCenter workflow XML to Python/PySpark code
5
5
  Author: Nick
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "informatica-python"
7
- version = "1.10.1"
7
+ version = "1.10.2"
8
8
  description = "Convert Informatica PowerCenter workflow XML to Python/PySpark code"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -2038,7 +2038,7 @@ class TestCodeFormattingAndComments(unittest.TestCase):
2038
2038
 
2039
2039
  def test_expression_has_inline_comment(self):
2040
2040
  code = self._generate_full_mapping()
2041
- assert "# OUT_VAL = UPPER(VAL)" in code
2041
+ assert '"""OUT_VAL = UPPER(VAL)"""' in code
2042
2042
 
2043
2043
  def test_transformation_has_section_header(self):
2044
2044
  code = self._generate_full_mapping()