python-sdk-remote 0.0.126__tar.gz → 0.0.128__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 python-sdk-remote might be problematic. Click here for more details.
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/PKG-INFO +1 -1
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote/src/http_response.py +3 -0
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote.egg-info/PKG-INFO +1 -1
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/setup.py +1 -1
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/README.md +0 -0
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/pyproject.toml +0 -0
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote/src/__init__.py +0 -0
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote/src/constants.py +0 -0
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote/src/item.py +0 -0
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote/src/mini_logger.py +0 -0
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote/src/our_object.py +0 -0
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote/src/unified_json.py +0 -0
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote/src/utilities.py +0 -0
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote/src/valid_json_versions.py +0 -0
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote/src/validate_environment.py +0 -0
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote.egg-info/SOURCES.txt +0 -0
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote.egg-info/dependency_links.txt +0 -0
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote.egg-info/requires.txt +0 -0
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote.egg-info/top_level.txt +0 -0
- {python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/setup.cfg +0 -0
{python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote/src/http_response.py
RENAMED
|
@@ -77,6 +77,7 @@ def handler_decorator(logger):
|
|
|
77
77
|
# TODO: should we auto detect user_jwt if not provided?
|
|
78
78
|
def create_authorization_http_headers(user_jwt: str) -> dict:
|
|
79
79
|
logger.start(object={"user_jwt": user_jwt})
|
|
80
|
+
#TODO check the validity of user_jwt and it is not None and raise exception, please do the same in all other functions.
|
|
80
81
|
authorization_http_headers = {
|
|
81
82
|
'Content-Type': 'application/json',
|
|
82
83
|
'Authorization': AUTHORIZATION_PREFIX + user_jwt,
|
|
@@ -97,6 +98,8 @@ def get_user_jwt_from_event(event: dict) -> str:
|
|
|
97
98
|
|
|
98
99
|
def create_return_http_headers() -> dict:
|
|
99
100
|
logger.start()
|
|
101
|
+
# Adding "Access-Control-Allow-Origin" : "*" to take care of CORS from localhost
|
|
102
|
+
# TODO Do we need to add those? In which cases? try adding crossDomain: true, to the request, 'Access-Control-Allow-Credentials': true to header
|
|
100
103
|
return_http_headers = {
|
|
101
104
|
"Content-Type": "application/json",
|
|
102
105
|
"Access-Control-Allow-Origin": "*",
|
|
@@ -7,7 +7,7 @@ package_dir = PACKAGE_NAME.replace("-", "_")
|
|
|
7
7
|
# python -m build needs pyproject.toml or setup.py
|
|
8
8
|
setuptools.setup(
|
|
9
9
|
name=PACKAGE_NAME,
|
|
10
|
-
version='0.0.
|
|
10
|
+
version='0.0.128', # https://pypi.org/project/python-sdk-remote/
|
|
11
11
|
author="Circles",
|
|
12
12
|
author_email="info@circlez.ai",
|
|
13
13
|
description="PyPI Package for Circles Python SDK Local Python",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote/src/mini_logger.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote/src/unified_json.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote/src/valid_json_versions.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote.egg-info/requires.txt
RENAMED
|
File without changes
|
{python_sdk_remote-0.0.126 → python_sdk_remote-0.0.128}/python_sdk_remote.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|