pypomes-iam 0.1.5__tar.gz → 0.1.6__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.

Potentially problematic release.


This version of pypomes-iam might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pypomes_iam
3
- Version: 0.1.5
3
+ Version: 0.1.6
4
4
  Summary: A collection of Python pomes, penyeach (IAM modules)
5
5
  Project-URL: Homepage, https://github.com/TheWiseCoder/PyPomes-IAM
6
6
  Project-URL: Bug Tracker, https://github.com/TheWiseCoder/PyPomes-IAM/issues
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
6
6
 
7
7
  [project]
8
8
  name = "pypomes_iam"
9
- version = "0.1.5"
9
+ version = "0.1.6"
10
10
  authors = [
11
11
  { name="GT Nunes", email="wisecoder01@gmail.com" }
12
12
  ]
@@ -495,6 +495,8 @@ def __post_jusbr(user_data: dict[str, Any],
495
495
  # request resulted in error
496
496
  err_msg = (f"POST '{url}': failed, "
497
497
  f"status {response.status_code}, reason '{response.reason}'")
498
+ if hasattr(response, "content") and response.content:
499
+ err_msg += f", content '{response.content}'"
498
500
  if response.status_code == 401 and "refresh_token" in body_data:
499
501
  # refresh token is no longer valid
500
502
  safe_cache["refresh-token"] = None
File without changes
File without changes
File without changes