berryworld 1.0.0.199373__py3-none-any.whl → 1.0.0.199418__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.
berryworld/sql_conn.py CHANGED
@@ -983,8 +983,8 @@ class SQLConn:
983
983
  """ Method to parse the Decimal type in python
984
984
  :param string: String variable to parse
985
985
  """
986
- string = re.sub("'\)(?!(,[ ]+\())(?=([^$]))", "", string)
987
- return re.sub("Decimal\('", "", string)
986
+ string = re.sub(r'Decimal\(\s*([^)]+?)\s*\)', r'\1', string)
987
+ return string
988
988
 
989
989
  @staticmethod
990
990
  def infer_datetime(data, infer_datetime_format):
@@ -1007,8 +1007,8 @@ class SQLConnection:
1007
1007
  :param string: String variable to parse
1008
1008
  :return: Parsed string
1009
1009
  """
1010
- string = re.sub("'\)(?!(,[ ]+\())(?=([^$]))", "", string)
1011
- return re.sub("Decimal\('", "", string)
1010
+ string = re.sub(r'Decimal\(\s*([^)]+?)\s*\)', r'\1', string)
1011
+ return string
1012
1012
 
1013
1013
  @staticmethod
1014
1014
  def infer_datetime(data, infer_datetime_format):
@@ -2162,8 +2162,8 @@ class SQLConnectionPool:
2162
2162
  """ Method to parse the Decimal type in python
2163
2163
  :param string: String variable to parse
2164
2164
  """
2165
- string = re.sub("'\)(?!(,[ ]+\())(?=([^$]))", "", string)
2166
- return re.sub("Decimal\('", "", string)
2165
+ string = re.sub(r'Decimal\(\s*([^)]+?)\s*\)', r'\1', string)
2166
+ return string
2167
2167
 
2168
2168
  @staticmethod
2169
2169
  def infer_datetime(data, infer_datetime_format):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: berryworld
3
- Version: 1.0.0.199373
3
+ Version: 1.0.0.199418
4
4
  Summary: Handy classes to improve ETL processes
5
5
  Home-page: https://www.berryworld.com
6
6
  Author: BerryWorld ltd
@@ -19,20 +19,20 @@ berryworld/power_automate.py,sha256=V86QEGG9H36DrDvod9Q6yp8OUu307hfYcXJhw06pYrA,
19
19
  berryworld/python_logs.py,sha256=FVPK1rtFvwRRxtDnBVc9SinyAkt6K2G1HIzIvtS7WWE,5173
20
20
  berryworld/sharepoint_con.py,sha256=nmyZJIcaAKJ6Y-ti4gQbvzA_rRbrMGIxTDXe4eP-tiI,44950
21
21
  berryworld/snowflake_conn.py,sha256=L0ePgTKa3tvaxj88BZmsjS6cFp3ZU3rytw7S2jkuA-U,3161
22
- berryworld/sql_conn.py,sha256=6kUR3oLXweakz2IBc4zI1ZMqRoN8K6nbQneHhenM-7I,47668
23
- berryworld/sql_connection.py,sha256=IJAOsQ7p0tMFEEucazmmkS3lNonf_YFWftyZ_kGPHj8,104150
22
+ berryworld/sql_conn.py,sha256=7MjtymH4_NvLbxnmoVY6ViiNKSp4jPkGluOfgEZ8txA,47645
23
+ berryworld/sql_connection.py,sha256=mZPqsyPQNREJzsHgKcxj7LJZaAUeRtkz1yCoCrGVOo0,104104
24
24
  berryworld/teams_logging.py,sha256=8NwXyWr4fLj7W6GzAm2nRQCGFDxibQpAHDHHD24FrP8,6997
25
25
  berryworld/transportation_solver.py,sha256=tNc1JJk71azIBccdWVHbqcvXWhalOdKffv6HmBD6tG0,5014
26
26
  berryworld/verify_keys.py,sha256=X7VUHqYDklWPDO0bGVHIOXeLq5Qi4fZRZbHYw5x7UnA,4356
27
27
  berryworld/vivantio.py,sha256=QfZo0UKqkzVRg_LyiwivNd3aEup4TH57x4KxLZkCJwc,10627
28
28
  berryworld/vivantio_logging.py,sha256=ciy7gA4u3FrgUIpEBnMgocbNPp6jcu9TPoy-kLcrTZU,5736
29
29
  berryworld/xml_parser.py,sha256=HWD71NaTN3DaIOGT6Wzxs4CEsroFhGQwe9iPLIL80Co,957
30
- berryworld-1.0.0.199373.dist-info/licenses/LICENSE,sha256=vtkVCJM6E2af2gnsi2XxKPr4WY-uIbvzVLXieFND0UU,1074
30
+ berryworld-1.0.0.199418.dist-info/licenses/LICENSE,sha256=vtkVCJM6E2af2gnsi2XxKPr4WY-uIbvzVLXieFND0UU,1074
31
31
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
32
  tests/test_allocation_config.py,sha256=e12l6fE9U57eSPS35g6ekJ_hol7-RHg89JV60_m1BlE,4633
33
33
  tests/test_handy_mix_config.py,sha256=Un56mz9KJmdn4K4OwzHAHLSRzDU1Xv2nFrONNuzOG04,2594
34
34
  tests/test_xml_parser.py,sha256=3QTlhFEd6KbK6nRFKZnc35tad6wqukTbe4QrFi8mr_8,859
35
- berryworld-1.0.0.199373.dist-info/METADATA,sha256=qwpYYA_x5BmX0fwgUN-8FnPPfdXREqeUm5Rpg5LCxn8,1445
36
- berryworld-1.0.0.199373.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
37
- berryworld-1.0.0.199373.dist-info/top_level.txt,sha256=GIZ5qy-P5oxfEH755vA1IMFeTVdX3-40JxMe6nOe5I8,17
38
- berryworld-1.0.0.199373.dist-info/RECORD,,
35
+ berryworld-1.0.0.199418.dist-info/METADATA,sha256=49_aRRyDCCLxD1liW-cQ4uAlEFvI2Yg8Y0mW4RAn3WE,1445
36
+ berryworld-1.0.0.199418.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
37
+ berryworld-1.0.0.199418.dist-info/top_level.txt,sha256=GIZ5qy-P5oxfEH755vA1IMFeTVdX3-40JxMe6nOe5I8,17
38
+ berryworld-1.0.0.199418.dist-info/RECORD,,