data-factory-testing-framework 1.0.4__tar.gz → 1.0.5__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 (80) hide show
  1. {data_factory_testing_framework-1.0.4/src/data_factory_testing_framework.egg-info → data_factory_testing_framework-1.0.5}/PKG-INFO +1 -2
  2. data_factory_testing_framework-1.0.5/VERSION +1 -0
  3. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/pyproject.toml +0 -2
  4. data_factory_testing_framework-1.0.5/src/data_factory_testing_framework/_enum_meta.py +65 -0
  5. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_test_framework.py +1 -2
  6. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/state/_dependency_condition.py +1 -1
  7. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/state/_run_parameter_type.py +1 -1
  8. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5/src/data_factory_testing_framework.egg-info}/PKG-INFO +1 -2
  9. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework.egg-info/SOURCES.txt +1 -0
  10. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework.egg-info/requires.txt +0 -1
  11. data_factory_testing_framework-1.0.4/VERSION +0 -1
  12. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/DataFactoryTestingFramework.sln +0 -0
  13. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/LICENSE +0 -0
  14. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/MANIFEST.in +0 -0
  15. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/README.md +0 -0
  16. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/setup.cfg +0 -0
  17. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/setup.py +0 -0
  18. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/__init__.py +0 -0
  19. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_deserializers/__init__.py +0 -0
  20. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_deserializers/_deserializer_base.py +0 -0
  21. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_deserializers/_deserializer_data_factory.py +0 -0
  22. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_deserializers/_deserializer_fabric.py +0 -0
  23. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_deserializers/shared/__init__.py +0 -0
  24. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_deserializers/shared/_activity_deserializer.py +0 -0
  25. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_deserializers/shared/_data_factory_element_replacer.py +0 -0
  26. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_expression_runtime/data_factory_expression/__init__.py +0 -0
  27. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_expression_runtime/data_factory_expression/data_factory_to_expression_transformer.py +0 -0
  28. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_expression_runtime/data_factory_expression/exceptions.py +0 -0
  29. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_expression_runtime/data_factory_expression/expression_transformer.py +0 -0
  30. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_expression_runtime/expression_runtime.py +0 -0
  31. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_expression_runtime/functions_repository.py +0 -0
  32. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_pythonnet/Evaluator.csproj +0 -0
  33. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_pythonnet/__init__.py +0 -0
  34. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_pythonnet/data_factory_testing_framework_expressions_evaluator.py +0 -0
  35. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_repositories/__init__.py +0 -0
  36. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_repositories/_factories/base_repository_factory.py +0 -0
  37. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_repositories/_factories/data_factory_repository_factory.py +0 -0
  38. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_repositories/_factories/fabric_repository_factory.py +0 -0
  39. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/_repositories/data_factory_repository.py +0 -0
  40. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/exceptions/__init__.py +0 -0
  41. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/exceptions/_activity_not_found_error.py +0 -0
  42. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/exceptions/_activity_output_field_not_found_error.py +0 -0
  43. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/exceptions/_control_activity_expression_evaluated_not_to_expected_type.py +0 -0
  44. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/exceptions/_data_factory_element_evaluation_error.py +0 -0
  45. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/exceptions/_function_call_invalid_arguments_count_error.py +0 -0
  46. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/exceptions/_parameter_not_found_error.py +0 -0
  47. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/exceptions/_pipeline_activities_circular_dependency_error.py +0 -0
  48. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/exceptions/_pipeline_not_found_error.py +0 -0
  49. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/exceptions/_state_iteration_item_not_set_error.py +0 -0
  50. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/exceptions/_unsupported_function_error.py +0 -0
  51. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/exceptions/_user_error.py +0 -0
  52. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/exceptions/_variable_being_evaluated_does_not_exist_error.py +0 -0
  53. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/exceptions/_variable_not_found_error.py +0 -0
  54. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/models/__init__.py +0 -0
  55. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/models/_data_factory_element.py +0 -0
  56. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/models/_data_factory_object_type.py +0 -0
  57. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/models/_pipeline.py +0 -0
  58. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/models/activities/__init__.py +0 -0
  59. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/models/activities/_activity.py +0 -0
  60. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/models/activities/_activity_dependency.py +0 -0
  61. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/models/activities/_append_variable_activity.py +0 -0
  62. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/models/activities/_control_activity.py +0 -0
  63. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/models/activities/_execute_pipeline_activity.py +0 -0
  64. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/models/activities/_fail_activity.py +0 -0
  65. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/models/activities/_filter_activity.py +0 -0
  66. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/models/activities/_for_each_activity.py +0 -0
  67. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/models/activities/_if_condition_activity.py +0 -0
  68. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/models/activities/_set_variable_activity.py +0 -0
  69. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/models/activities/_switch_activity.py +0 -0
  70. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/models/activities/_until_activity.py +0 -0
  71. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/py.typed +0 -0
  72. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/state/__init__.py +0 -0
  73. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/state/_activity_result.py +0 -0
  74. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/state/_pipeline_run_state.py +0 -0
  75. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/state/_pipeline_run_variable.py +0 -0
  76. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/state/_run_parameter.py +0 -0
  77. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework/state/_run_state.py +0 -0
  78. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework.egg-info/dependency_links.txt +0 -0
  79. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/src/data_factory_testing_framework.egg-info/top_level.txt +0 -0
  80. {data_factory_testing_framework-1.0.4 → data_factory_testing_framework-1.0.5}/tests/test_test_framework.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: data-factory-testing-framework
3
- Version: 1.0.4
3
+ Version: 1.0.5
4
4
  Summary: A stand-alone test framework that allows to write unit tests for Data Factory pipelines on Microsoft Fabric and Azure Data Factory.
5
5
  Author-email: Data Factory Testing Framework <dftf@microsoft.com>
6
6
  License: MIT License
@@ -39,7 +39,6 @@ Classifier: Operating System :: OS Independent
39
39
  Requires-Python: <3.13,>=3.9
40
40
  Description-Content-Type: text/markdown
41
41
  License-File: LICENSE
42
- Requires-Dist: azure-core<2.0.0,>=1.29.5
43
42
  Requires-Dist: lark<2.0.0,>=1.1.8
44
43
  Requires-Dist: pythonnet<4.0.0,>=3.0.3
45
44
 
@@ -0,0 +1 @@
1
+ 1.0.5
@@ -19,7 +19,6 @@ license = { file="LICENSE" }
19
19
  keywords = ["fabric", "datafactory", "unit-testing", "functional-testing", "azure"]
20
20
 
21
21
  dependencies = [
22
- "azure-core>=1.29.5,<2.0.0",
23
22
  "lark>=1.1.8,<2.0.0",
24
23
  "pythonnet>=3.0.3,<4.0.0"
25
24
  ]
@@ -35,7 +34,6 @@ package-mode = false
35
34
 
36
35
  [tool.poetry.dependencies]
37
36
  python = ">=3.9,<3.13"
38
- azure-core = "^1.29.5"
39
37
  lark = "^1.1.8"
40
38
  pythonnet = "^3.0.3"
41
39
 
@@ -0,0 +1,65 @@
1
+ # --------------------------------------------------------------------------
2
+ #
3
+ # Copyright (c) Microsoft Corporation. All rights reserved.
4
+ #
5
+ # The MIT License (MIT)
6
+ #
7
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ # of this software and associated documentation files (the ""Software""), to
9
+ # deal in the Software without restriction, including without limitation the
10
+ # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
11
+ # sell copies of the Software, and to permit persons to whom the Software is
12
+ # furnished to do so, subject to the following conditions:
13
+ #
14
+ # The above copyright notice and this permission notice shall be included in
15
+ # all copies or substantial portions of the Software.
16
+ #
17
+ # THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22
+ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
23
+ # IN THE SOFTWARE.
24
+ #
25
+ # --------------------------------------------------------------------------
26
+ from enum import Enum, EnumMeta
27
+ from typing import Any
28
+
29
+
30
+ class CaseInsensitiveEnumMeta(EnumMeta):
31
+ """Enum metaclass to allow for interoperability with case-insensitive strings.
32
+
33
+ Consuming this metaclass in an SDK should be done in the following manner:
34
+
35
+ .. code-block:: python
36
+
37
+ from enum import Enum
38
+ from azure.core import CaseInsensitiveEnumMeta
39
+
40
+ class MyCustomEnum(str, Enum, metaclass=CaseInsensitiveEnumMeta):
41
+ FOO = 'foo'
42
+ BAR = 'bar'
43
+
44
+ """
45
+
46
+ def __getitem__(cls, name: str) -> Any: # noqa: N805, ANN401
47
+ return super(CaseInsensitiveEnumMeta, cls).__getitem__(name.upper())
48
+
49
+ def __getattr__(cls, name: str) -> Enum: # noqa: N805
50
+ """Return the enum member matching `name`.
51
+
52
+ We use __getattr__ instead of descriptors or inserting into the enum
53
+ class' __dict__ in order to support `name` and `value` being both
54
+ properties for enum members (which live in the class' __dict__) and
55
+ enum members themselves.
56
+
57
+ :param str name: The name of the enum member to retrieve.
58
+ :rtype: ~azure.core.CaseInsensitiveEnumMeta
59
+ :return: The enum member matching `name`.
60
+ :raises AttributeError: If `name` is not a valid enum member.
61
+ """
62
+ try:
63
+ return cls._member_map_[name.upper()]
64
+ except KeyError as err:
65
+ raise AttributeError(name) from err
@@ -1,8 +1,7 @@
1
1
  from enum import Enum
2
2
  from typing import Iterator, List, Optional
3
3
 
4
- from azure.core import CaseInsensitiveEnumMeta
5
-
4
+ from data_factory_testing_framework._enum_meta import CaseInsensitiveEnumMeta
6
5
  from data_factory_testing_framework._repositories._factories.data_factory_repository_factory import (
7
6
  DataFactoryRepositoryFactory,
8
7
  )
@@ -1,6 +1,6 @@
1
1
  from enum import Enum
2
2
 
3
- from azure.core import CaseInsensitiveEnumMeta
3
+ from data_factory_testing_framework._enum_meta import CaseInsensitiveEnumMeta
4
4
 
5
5
 
6
6
  class DependencyCondition(str, Enum, metaclass=CaseInsensitiveEnumMeta):
@@ -1,6 +1,6 @@
1
1
  from enum import Enum
2
2
 
3
- from azure.core import CaseInsensitiveEnumMeta
3
+ from data_factory_testing_framework._enum_meta import CaseInsensitiveEnumMeta
4
4
 
5
5
 
6
6
  class RunParameterType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: data-factory-testing-framework
3
- Version: 1.0.4
3
+ Version: 1.0.5
4
4
  Summary: A stand-alone test framework that allows to write unit tests for Data Factory pipelines on Microsoft Fabric and Azure Data Factory.
5
5
  Author-email: Data Factory Testing Framework <dftf@microsoft.com>
6
6
  License: MIT License
@@ -39,7 +39,6 @@ Classifier: Operating System :: OS Independent
39
39
  Requires-Python: <3.13,>=3.9
40
40
  Description-Content-Type: text/markdown
41
41
  License-File: LICENSE
42
- Requires-Dist: azure-core<2.0.0,>=1.29.5
43
42
  Requires-Dist: lark<2.0.0,>=1.1.8
44
43
  Requires-Dist: pythonnet<4.0.0,>=3.0.3
45
44
 
@@ -6,6 +6,7 @@ VERSION
6
6
  pyproject.toml
7
7
  setup.py
8
8
  src/data_factory_testing_framework/__init__.py
9
+ src/data_factory_testing_framework/_enum_meta.py
9
10
  src/data_factory_testing_framework/_test_framework.py
10
11
  src/data_factory_testing_framework/py.typed
11
12
  src/data_factory_testing_framework.egg-info/PKG-INFO
@@ -1,3 +1,2 @@
1
- azure-core<2.0.0,>=1.29.5
2
1
  lark<2.0.0,>=1.1.8
3
2
  pythonnet<4.0.0,>=3.0.3
@@ -1 +0,0 @@
1
- 1.0.4