mbu-dev-shared-components 0.0.41__tar.gz → 0.0.43__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.
- {mbu_dev_shared_components-0.0.41/mbu_dev_shared_components.egg-info → mbu_dev_shared_components-0.0.43}/PKG-INFO +2 -1
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/utils/db_stored_procedure_executor.py +3 -2
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43/mbu_dev_shared_components.egg-info}/PKG-INFO +2 -1
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components.egg-info/requires.txt +1 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/pyproject.toml +2 -1
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/.gitignore +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/LICENSE +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/README.md +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/getorganized/__init__.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/getorganized/auth.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/getorganized/cases.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/getorganized/contacts.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/getorganized/documents.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/getorganized/objects.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/google/__init__.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/google/api/__init__.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/google/api/auth.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/google/workspace/__init__.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/google/workspace/alerts.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/office365/__init__.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/office365/excel/__init__.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/office365/excel/excel_reader.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/office365/sharepoint_api/__init__.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/office365/sharepoint_api/files.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/os2forms/__init__.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/os2forms/documents.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/sap/__init__.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/sap/create_invoice.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/utils/__init__.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components/utils/json_handler.py +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components.egg-info/SOURCES.txt +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components.egg-info/dependency_links.txt +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/mbu_dev_shared_components.egg-info/top_level.txt +0 -0
- {mbu_dev_shared_components-0.0.41 → mbu_dev_shared_components-0.0.43}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mbu_dev_shared_components
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.43
|
|
4
4
|
Summary: Shared components to use in RPA projects
|
|
5
5
|
Author-email: MBU <rpa@mbu.aarhus.dk>
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -13,6 +13,7 @@ Requires-Dist: Office365-REST-Python-Client>=2.5.9
|
|
|
13
13
|
Requires-Dist: openpyxl>=3.1.2
|
|
14
14
|
Requires-Dist: pyodbc>=5.1.0
|
|
15
15
|
Requires-Dist: requests_ntlm>=1.2.0
|
|
16
|
+
Requires-Dist: python-dateutil==2.9.*
|
|
16
17
|
|
|
17
18
|
# mbu-dev-shared-components
|
|
18
19
|
|
|
@@ -7,6 +7,7 @@ from typing import Dict, Any, Union
|
|
|
7
7
|
from dateutil import parser
|
|
8
8
|
import pyodbc
|
|
9
9
|
|
|
10
|
+
|
|
10
11
|
def execute_stored_procedure(connection_string: str, stored_procedure: str, params: Dict[str, Any]) -> Dict[str, Union[bool, str, Any]]:
|
|
11
12
|
"""
|
|
12
13
|
Executes a stored procedure with the given parameters.
|
|
@@ -40,7 +41,7 @@ def execute_stored_procedure(connection_string: str, stored_procedure: str, para
|
|
|
40
41
|
param_placeholders = ', '.join([f"@{key} = ?" for key in params.keys()])
|
|
41
42
|
param_values = []
|
|
42
43
|
|
|
43
|
-
for
|
|
44
|
+
for _, value in params.items():
|
|
44
45
|
if isinstance(value, tuple) and len(value) == 2:
|
|
45
46
|
value_type, actual_value = value
|
|
46
47
|
if value_type in type_mapping:
|
|
@@ -60,5 +61,5 @@ def execute_stored_procedure(connection_string: str, stored_procedure: str, para
|
|
|
60
61
|
result["error_message"] = f"Value error: {str(e)}"
|
|
61
62
|
except Exception as e:
|
|
62
63
|
result["error_message"] = f"An unexpected error occurred: {str(e)}"
|
|
63
|
-
|
|
64
|
+
|
|
64
65
|
return result
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mbu_dev_shared_components
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.43
|
|
4
4
|
Summary: Shared components to use in RPA projects
|
|
5
5
|
Author-email: MBU <rpa@mbu.aarhus.dk>
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -13,6 +13,7 @@ Requires-Dist: Office365-REST-Python-Client>=2.5.9
|
|
|
13
13
|
Requires-Dist: openpyxl>=3.1.2
|
|
14
14
|
Requires-Dist: pyodbc>=5.1.0
|
|
15
15
|
Requires-Dist: requests_ntlm>=1.2.0
|
|
16
|
+
Requires-Dist: python-dateutil==2.9.*
|
|
16
17
|
|
|
17
18
|
# mbu-dev-shared-components
|
|
18
19
|
|
|
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
|