python-sdk-remote 0.0.221b4098__tar.gz → 0.0.221b4286__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.
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/PKG-INFO +1 -1
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/pyproject.toml +1 -1
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/http_response.py +5 -4
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote.egg-info/PKG-INFO +1 -1
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/setup.py +1 -1
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/README.md +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/__init__.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/constants.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/constants_src_mini_logger_and_logger.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/datetime_range.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/dot_env_files.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/environment.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/environment_variable_exception.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/filename.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/filesystem.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/generic_crud.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/is_test_data.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/item.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/masking.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/mini_logger.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/our_environment_variable.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/our_environment_variable_exception.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/our_obfuscation.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/our_object.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/our_objects.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/our_objects_local.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/our_objects_remote.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/our_request.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/our_request_old.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/personal_repo.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/unified_json.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/username.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/utilities.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/valid_json_versions.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/validate_environment.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/version.py +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote.egg-info/SOURCES.txt +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote.egg-info/dependency_links.txt +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote.egg-info/requires.txt +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote.egg-info/top_level.txt +0 -0
- {python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/setup.cfg +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
name = "python-sdk-local"
|
|
7
|
-
version = "0.0.
|
|
7
|
+
version = "0.0.221b4286" # https://pypi.org/project/python-sdk-local
|
|
8
8
|
description = "python-sdk-local Python Package"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import traceback
|
|
2
2
|
from functools import wraps
|
|
3
3
|
from http import HTTPStatus
|
|
4
|
-
from typing import Any, Optional, overload
|
|
4
|
+
from typing import Any, Callable, Optional, overload
|
|
5
5
|
|
|
6
6
|
from .mini_logger import MiniLogger as logger
|
|
7
7
|
from .utilities import camel_to_snake, snake_to_camel, to_dict, to_json
|
|
@@ -83,7 +83,7 @@ def get_request_parameters_from_event(event: dict) -> dict:
|
|
|
83
83
|
return all_parameters_dict
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
def handler_decorator(logger):
|
|
86
|
+
def handler_decorator(logger: Any) -> Callable[[Callable[[dict], dict]], Callable[[dict, Any], dict]]:
|
|
87
87
|
"""
|
|
88
88
|
Decorator for AWS Lambda handler functions with logging and error handling.
|
|
89
89
|
|
|
@@ -97,9 +97,10 @@ def handler_decorator(logger):
|
|
|
97
97
|
Comprehensive tests are implemented in http_response_test.py
|
|
98
98
|
"""
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
# BU-4286: typed, so mypy checks these bodies too ("By default the bodies of untyped functions are not checked")
|
|
101
|
+
def decorator(handler: Callable[[dict], dict]) -> Callable[[dict, Any], dict]:
|
|
101
102
|
@wraps(handler)
|
|
102
|
-
def wrapper(event, context):
|
|
103
|
+
def wrapper(event: dict, context: Any) -> dict:
|
|
103
104
|
handler_response = None
|
|
104
105
|
try:
|
|
105
106
|
logger.start(object={"event": event, "context": context})
|
|
@@ -8,7 +8,7 @@ package_dir = PACKAGE_NAME.replace("-", "_")
|
|
|
8
8
|
setuptools.setup(
|
|
9
9
|
license='MIT',
|
|
10
10
|
name=PACKAGE_NAME,
|
|
11
|
-
version="0.0.
|
|
11
|
+
version="0.0.221b4286", # https://pypi.org/project/python-sdk-remote#history
|
|
12
12
|
author="Circles",
|
|
13
13
|
author_email="info@circlez.ai",
|
|
14
14
|
description="PyPI Package for Circles Python SDK Local Python",
|
|
File without changes
|
{python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/__init__.py
RENAMED
|
File without changes
|
{python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/constants.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/filename.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/item.py
RENAMED
|
File without changes
|
{python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/masking.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/username.py
RENAMED
|
File without changes
|
{python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/utilities.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_sdk_remote-0.0.221b4098 → python_sdk_remote-0.0.221b4286}/python_sdk_remote/src/version.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|