hana-cloud-interface 0.1.8__py3-none-any.whl → 0.1.9__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.

Potentially problematic release.


This version of hana-cloud-interface might be problematic. Click here for more details.

@@ -1 +1 @@
1
- from .main import hana_sql, initialize_settings, hana_upload
1
+ from .main import hana_sql, initialize_settings, hana_upload, Validate_token
@@ -278,4 +278,14 @@ def hana_upload(data, data_name, SCHEMA):
278
278
  schema=SCHEMA,
279
279
  force=True, # True: truncate and insert
280
280
  replace=True) # True: Null is replaced by 0
281
- return True
281
+ return True
282
+
283
+ def Validate_token():
284
+ """
285
+ Validates the current authentication token by retrieving it using `get_token()` and closing the associated cursor.
286
+ Returns:
287
+ None
288
+ """
289
+
290
+ cursor = get_token()
291
+ cursor.close()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: hana-cloud-interface
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: Runs a SQL command on SAP HANA Cloud using OAuth single sign on and returns a pandas or polars dataframe
5
5
  Author: charlotte corpe
6
6
  Author-email: charlotte corpe <charlotte.corpe@powerco.co.nz>
@@ -0,0 +1,6 @@
1
+ hana_cloud_interface/__init__.py,sha256=ab62cfbb52140b4d0e23f9df034a0f84d676532248e29c736870c38f73545016,76
2
+ hana_cloud_interface/main.py,sha256=e5c4a270c7717989648746bec2630d6d2bd85850715105ae55db0b870bba3bc9,11224
3
+ hana_cloud_interface/py.typed,sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855,0
4
+ hana_cloud_interface-0.1.9.dist-info/WHEEL,sha256=b70116f4076fa664af162441d2ba3754dbb4ec63e09d563bdc1e9ab023cce400,78
5
+ hana_cloud_interface-0.1.9.dist-info/METADATA,sha256=f25c933772a8321b20669309c5f45c6941463a8bcca6761cf67a504caf321642,1966
6
+ hana_cloud_interface-0.1.9.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- hana_cloud_interface/__init__.py,sha256=e5ad9ac976f45e69e10ed15428aebff1c38da50de323dd6ab8a47d57180eff1c,60
2
- hana_cloud_interface/main.py,sha256=94d29e9fe510f00abf7e7ed3807cb9b96425e9125d89d8343100a6090df5fee7,10991
3
- hana_cloud_interface/py.typed,sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855,0
4
- hana_cloud_interface-0.1.8.dist-info/WHEEL,sha256=b70116f4076fa664af162441d2ba3754dbb4ec63e09d563bdc1e9ab023cce400,78
5
- hana_cloud_interface-0.1.8.dist-info/METADATA,sha256=a58abfe65769e698df49875991446f49c513e9b3a5c7d6fcc070d611b442837e,1966
6
- hana_cloud_interface-0.1.8.dist-info/RECORD,,