polyapi-python 0.2.1.dev1__tar.gz → 0.2.1.dev3__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.
Files changed (34) hide show
  1. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/PKG-INFO +1 -1
  2. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi/webhook.py +2 -2
  3. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi_python.egg-info/PKG-INFO +1 -1
  4. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/pyproject.toml +1 -1
  5. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/LICENSE +0 -0
  6. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/README.md +0 -0
  7. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi/__init__.py +0 -0
  8. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi/__main__.py +0 -0
  9. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi/api.py +0 -0
  10. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi/auth.py +0 -0
  11. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi/cli.py +0 -0
  12. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi/config.py +0 -0
  13. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi/constants.py +0 -0
  14. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi/exceptions.py +0 -0
  15. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi/execute.py +0 -0
  16. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi/function_cli.py +0 -0
  17. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi/generate.py +0 -0
  18. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi/py.typed +0 -0
  19. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi/schema.py +0 -0
  20. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi/server.py +0 -0
  21. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi/typedefs.py +0 -0
  22. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi/utils.py +0 -0
  23. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi/variables.py +0 -0
  24. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi_python.egg-info/SOURCES.txt +0 -0
  25. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi_python.egg-info/dependency_links.txt +0 -0
  26. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi_python.egg-info/requires.txt +0 -0
  27. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/polyapi_python.egg-info/top_level.txt +0 -0
  28. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/setup.cfg +0 -0
  29. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/tests/test_api.py +0 -0
  30. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/tests/test_auth.py +0 -0
  31. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/tests/test_function_cli.py +0 -0
  32. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/tests/test_server.py +0 -0
  33. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/tests/test_utils.py +0 -0
  34. {polyapi-python-0.2.1.dev1 → polyapi-python-0.2.1.dev3}/tests/test_variables.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: polyapi-python
3
- Version: 0.2.1.dev1
3
+ Version: 0.2.1.dev3
4
4
  Summary: The PolyAPI Python Client
5
5
  Author-email: Dan Fellin <dan@polyapi.io>
6
6
  License: MIT License
@@ -34,7 +34,7 @@ def {function_name}(callback, options=None):
34
34
  nonlocal options
35
35
  polyCustom = {{}}
36
36
  resp = await callback(data.get("body"), data.get("headers"), data.get("params"), polyCustom)
37
- if resp and options.get("waitForResponse"):
37
+ if options.get("waitForResponse"):
38
38
  await socket.emit('setWebhookListenerResponse', {{
39
39
  "webhookHandleID": function_id,
40
40
  "apiKey": api_key,
@@ -70,7 +70,7 @@ def {function_name}(callback, options=None):
70
70
 
71
71
  return closeEventHandler
72
72
 
73
- return asyncio.run(inner())
73
+ return asyncio.run(_inner())
74
74
  """
75
75
 
76
76
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: polyapi-python
3
- Version: 0.2.1.dev1
3
+ Version: 0.2.1.dev3
4
4
  Summary: The PolyAPI Python Client
5
5
  Author-email: Dan Fellin <dan@polyapi.io>
6
6
  License: MIT License
@@ -3,7 +3,7 @@ requires = ["setuptools>=61.2", "wheel"]
3
3
 
4
4
  [project]
5
5
  name = "polyapi-python"
6
- version = "0.2.1.dev1"
6
+ version = "0.2.1.dev3"
7
7
  description = "The PolyAPI Python Client"
8
8
  authors = [{ name = "Dan Fellin", email = "dan@polyapi.io" }]
9
9
  dependencies = [