cycls 0.0.2.49__py3-none-any.whl → 0.0.2.51__py3-none-any.whl
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.
- cycls/runtime.py +1 -1
- cycls/sdk.py +2 -2
- cycls/theme/assets/index-CE4acW4J.css +1 -0
- cycls/theme/assets/index-DK37eWM7.js +393 -0
- cycls/theme/index.html +2 -1
- {cycls-0.0.2.49.dist-info → cycls-0.0.2.51.dist-info}/METADATA +3 -4
- cycls-0.0.2.51.dist-info/RECORD +10 -0
- cycls/theme/assets/index-CJ_4y8Hq.js +0 -382
- cycls-0.0.2.49.dist-info/RECORD +0 -9
- {cycls-0.0.2.49.dist-info → cycls-0.0.2.51.dist-info}/WHEEL +0 -0
cycls/runtime.py
CHANGED
|
@@ -386,7 +386,7 @@ COPY {self.payload_file} {self.io_dir}/
|
|
|
386
386
|
data=data_payload,
|
|
387
387
|
files=files,
|
|
388
388
|
headers=headers,
|
|
389
|
-
timeout=1800 # Set a long timeout for the entire process
|
|
389
|
+
timeout=5*1800 # Set a long timeout for the entire process
|
|
390
390
|
)
|
|
391
391
|
|
|
392
392
|
# 4. Handle the server's response
|
cycls/sdk.py
CHANGED
|
@@ -72,7 +72,7 @@ class Agent:
|
|
|
72
72
|
import uvicorn, logging
|
|
73
73
|
# This one-liner hides the confusing "0.0.0.0" message
|
|
74
74
|
logging.getLogger("uvicorn.error").addFilter(type("F",(),{"filter": lambda s,r: "0.0.0.0" not in r.getMessage()})())
|
|
75
|
-
print(f"\n🔨 Visit {i[
|
|
75
|
+
print(f"\n🔨 Visit {i['name']} => http://localhost:{port}\n")
|
|
76
76
|
uvicorn.run(__import__("web").web(i["func"], *i["config"]), host="0.0.0.0", port=port)
|
|
77
77
|
|
|
78
78
|
new = Runtime(
|
|
@@ -128,5 +128,5 @@ class Agent:
|
|
|
128
128
|
|
|
129
129
|
# docker system prune -af
|
|
130
130
|
# poetry config pypi-token.pypi <your-token>
|
|
131
|
-
# poetry run python
|
|
131
|
+
# poetry run python cake.py
|
|
132
132
|
# poetry publish --build
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.cl-internal-p8bmz4{box-shadow:none!important;border:1px solid rgba(0,0,0,.1);box-shadow:0 1px 2px #0000000d}
|