nc-py-api 0.19.0__tar.gz → 0.19.1__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.
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/CHANGELOG.md +6 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/PKG-INFO +1 -1
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/_version.py +1 -1
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/ex_app/uvicorn_fastapi.py +15 -1
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/pyproject.toml +1 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/.gitignore +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/AUTHORS +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/LICENSE.txt +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/README.md +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/__init__.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/_deffered_error.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/_exceptions.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/_misc.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/_preferences.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/_preferences_ex.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/_session.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/_talk_api.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/_theming.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/activity.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/apps.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/calendar_api.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/ex_app/__init__.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/ex_app/defs.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/ex_app/events_listener.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/ex_app/integration_fastapi.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/ex_app/logger.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/ex_app/misc.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/ex_app/occ_commands.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/ex_app/persist_transformers_cache.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/ex_app/providers/__init__.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/ex_app/providers/providers.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/ex_app/providers/task_processing.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/ex_app/ui/__init__.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/ex_app/ui/files_actions.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/ex_app/ui/resources.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/ex_app/ui/settings.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/ex_app/ui/top_menu.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/ex_app/ui/ui.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/files/__init__.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/files/_files.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/files/files.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/files/files_async.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/files/sharing.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/loginflow_v2.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/nextcloud.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/notes.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/notifications.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/options.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/talk.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/talk_bot.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/user_status.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/users.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/users_groups.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/weather_status.py +0 -0
- {nc_py_api-0.19.0 → nc_py_api-0.19.1}/nc_py_api/webhooks.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nc-py-api
|
|
3
|
-
Version: 0.19.
|
|
3
|
+
Version: 0.19.1
|
|
4
4
|
Summary: Nextcloud Python Framework
|
|
5
5
|
Project-URL: Changelog, https://github.com/cloud-py-api/nc_py_api/blob/main/CHANGELOG.md
|
|
6
6
|
Project-URL: Documentation, https://cloud-py-api.github.io/nc_py_api/
|
|
@@ -22,4 +22,18 @@ def run_app(
|
|
|
22
22
|
:param args: Any args to pass to **uvicorn.run**.
|
|
23
23
|
:param kwargs: Any **kwargs** to pass to **uvicorn.run**, except ``host`` and ``port``.
|
|
24
24
|
"""
|
|
25
|
-
|
|
25
|
+
if environ.get("HP_SHARED_KEY"):
|
|
26
|
+
uvicorn.run(
|
|
27
|
+
uvicorn_app,
|
|
28
|
+
*args,
|
|
29
|
+
uds=environ.get("HP_EXAPP_SOCK", "/tmp/exapp.sock"),
|
|
30
|
+
**kwargs,
|
|
31
|
+
)
|
|
32
|
+
else:
|
|
33
|
+
uvicorn.run(
|
|
34
|
+
uvicorn_app,
|
|
35
|
+
*args,
|
|
36
|
+
host=environ.get("APP_HOST", "127.0.0.1"),
|
|
37
|
+
port=int(environ["APP_PORT"]),
|
|
38
|
+
**kwargs,
|
|
39
|
+
)
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|