user-context-remote 0.0.77__tar.gz → 0.0.78__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: user-context-remote
3
- Version: 0.0.77
3
+ Version: 0.0.78
4
4
  Summary: PyPI Package for Circles User Context Local/Remote Python
5
5
  Home-page: https://github.com/circles-zone/user-context-remote-python-package
6
6
  Author: Circles
@@ -5,7 +5,7 @@ package_dir = PACKAGE_NAME.replace("-", "_")
5
5
 
6
6
  setuptools.setup(
7
7
  name='user-context-remote',
8
- version='0.0.77', # https://pypi.org/project/user-context-remote/
8
+ version='0.0.78', # https://pypi.org/project/user-context-remote/
9
9
  author="Circles",
10
10
  author_email="info@circles.ai",
11
11
  description="PyPI Package for Circles User Context Local/Remote Python",
@@ -6,7 +6,7 @@ from language_remote.lang_code import LangCode
6
6
  from python_sdk_remote.mini_logger import MiniLogger
7
7
  from python_sdk_remote.utilities import our_get_env, create_return_http_headers
8
8
  from url_remote import action_name_enum, component_name_enum, entity_name_enum
9
- from url_remote.url_circlez import OurUrl
9
+ from url_remote.our_url import OurUrl
10
10
 
11
11
  # TODO Shall we use authentication-remote-python-package and not directly authentication-local-restapi-typescript?
12
12
 
@@ -263,10 +263,10 @@ class UserContext:
263
263
  def __get_user_data_login_response(self, validate_user_jwt_response: requests.Response) -> None:
264
264
  _GET_USER_DATA_LOGIN_RESPONSE_METHOD_NAME = "get_user_data_login_response"
265
265
  # validate_user_jwt_response created in Authentication Local REST-API https://github.com/circles-zone/authentication-local-restapi-typescript-serverless-com/edit/dev/auth-restapi-serverless-com/src/services/auth-service/auth-service-impl.ts
266
- data_json = validate_user_jwt_response.json()['data']
266
+ data_dict = validate_user_jwt_response.json()['data']
267
267
  first_name = last_name = None
268
- if "userDetails" in data_json:
269
- userDetails = data_json["userDetails"]
268
+ if "userDetails" in data_dict:
269
+ userDetails = data_dict["userDetails"]
270
270
 
271
271
  if "profileId" in userDetails:
272
272
  profile_id = userDetails["profileId"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: user-context-remote
3
- Version: 0.0.77
3
+ Version: 0.0.78
4
4
  Summary: PyPI Package for Circles User Context Local/Remote Python
5
5
  Home-page: https://github.com/circles-zone/user-context-remote-python-package
6
6
  Author: Circles