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 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["name"]} => http://localhost:{port}\n")
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 agent-deploy.py
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}