user-context-remote 0.0.76__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,10 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: user-context-remote
3
- Version: 0.0.76
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
7
- Author-email: info@circles.life
7
+ Author-email: info@circles.ai
8
8
  Classifier: Programming Language :: Python :: 3
9
9
  Classifier: License :: Other/Proprietary License
10
10
  Classifier: Operating System :: OS Independent
@@ -5,9 +5,9 @@ package_dir = PACKAGE_NAME.replace("-", "_")
5
5
 
6
6
  setuptools.setup(
7
7
  name='user-context-remote',
8
- version='0.0.76', # https://pypi.org/project/user-context-remote/
8
+ version='0.0.78', # https://pypi.org/project/user-context-remote/
9
9
  author="Circles",
10
- author_email="info@circles.life",
10
+ author_email="info@circles.ai",
11
11
  description="PyPI Package for Circles User Context Local/Remote Python",
12
12
  long_description="This is a package for sharing common user-context-remote functions used in different repositories",
13
13
  long_description_content_type="text/markdown",
@@ -6,14 +6,14 @@ 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
 
13
13
  BRAND_NAME = our_get_env("BRAND_NAME")
14
14
  ENVIORNMENT_NAME = our_get_env("ENVIRONMENT_NAME")
15
15
 
16
- # TODO How about using AUTHENTICATION_API_VERSION_DICT per environment_name in url-local-python-package?
16
+ # TODO How about using AUTHENTICATION_API_VERSION_DICT per environment_name in url-remote-python-package?
17
17
  AUTHENTICATION_API_VERSION = 1
18
18
  DEFAULT_LANG_CODE = LangCode.ENGLISH
19
19
 
@@ -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,10 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: user-context-remote
3
- Version: 0.0.76
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
7
- Author-email: info@circles.life
7
+ Author-email: info@circles.ai
8
8
  Classifier: Programming Language :: Python :: 3
9
9
  Classifier: License :: Other/Proprietary License
10
10
  Classifier: Operating System :: OS Independent