polyapi-python 0.3.1.dev0__tar.gz → 0.3.1.dev1__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.
- {polyapi_python-0.3.1.dev0/polyapi_python.egg-info → polyapi_python-0.3.1.dev1}/PKG-INFO +1 -1
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/cli.py +3 -2
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1/polyapi_python.egg-info}/PKG-INFO +1 -1
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/pyproject.toml +1 -1
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/LICENSE +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/README.md +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/__init__.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/__main__.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/api.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/auth.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/client.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/config.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/constants.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/error_handler.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/exceptions.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/execute.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/function_cli.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/generate.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/py.typed +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/rendered_spec.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/schema.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/server.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/typedefs.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/utils.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/variables.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi/webhook.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi_python.egg-info/SOURCES.txt +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi_python.egg-info/dependency_links.txt +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi_python.egg-info/requires.txt +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi_python.egg-info/top_level.txt +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/setup.cfg +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/tests/test_api.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/tests/test_auth.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/tests/test_function_cli.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/tests/test_rendered_spec.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/tests/test_schema.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/tests/test_server.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/tests/test_utils.py +0 -0
- {polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/tests/test_variables.py +0 -0
|
@@ -26,7 +26,7 @@ def execute_from_cli() -> None:
|
|
|
26
26
|
parser.add_argument("--description", required=False, default="")
|
|
27
27
|
parser.add_argument("--client", action="store_true", help="Pass --client when adding function to add a client function.")
|
|
28
28
|
parser.add_argument("--server", action="store_true", help="Pass --server when adding function to add a server function.")
|
|
29
|
-
parser.add_argument("--logs",
|
|
29
|
+
parser.add_argument("--logs", choices=["enabled", "disabled"], default="disabled", help="Enable or disable logs for the function.")
|
|
30
30
|
parser.add_argument("--skip-generate", action="store_true", help="Pass --skip-generate to skip generating the library after adding a function.")
|
|
31
31
|
parser.add_argument("--execution-api-key", required=False, default="", help="API key for execution (for server functions only).")
|
|
32
32
|
parser.add_argument("command", choices=CLI_COMMANDS)
|
|
@@ -57,6 +57,7 @@ def execute_from_cli() -> None:
|
|
|
57
57
|
print("Clearing the generated library...")
|
|
58
58
|
clear()
|
|
59
59
|
elif command == "function":
|
|
60
|
+
logs_enabled = args.logs == "enabled"
|
|
60
61
|
if args.subcommands[0] == "execute":
|
|
61
62
|
print(function_execute(args.context, args.subcommands))
|
|
62
63
|
else:
|
|
@@ -65,7 +66,7 @@ def execute_from_cli() -> None:
|
|
|
65
66
|
description=args.description,
|
|
66
67
|
client=args.client,
|
|
67
68
|
server=args.server,
|
|
68
|
-
logs_enabled=
|
|
69
|
+
logs_enabled=logs_enabled,
|
|
69
70
|
subcommands=args.subcommands,
|
|
70
71
|
generate=not args.skip_generate,
|
|
71
72
|
execution_api_key=args.execution_api_key
|
|
@@ -3,7 +3,7 @@ requires = ["setuptools>=61.2", "wheel"]
|
|
|
3
3
|
|
|
4
4
|
[project]
|
|
5
5
|
name = "polyapi-python"
|
|
6
|
-
version = "0.3.1.
|
|
6
|
+
version = "0.3.1.dev1"
|
|
7
7
|
description = "The Python Client for PolyAPI, the IPaaS by Developers for Developers"
|
|
8
8
|
authors = [{ name = "Dan Fellin", email = "dan@polyapi.io" }]
|
|
9
9
|
dependencies = [
|
|
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
|
|
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
|
{polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi_python.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi_python.egg-info/requires.txt
RENAMED
|
File without changes
|
{polyapi_python-0.3.1.dev0 → polyapi_python-0.3.1.dev1}/polyapi_python.egg-info/top_level.txt
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
|