sycommon-python-lib 0.2.12a14__py3-none-any.whl → 0.2.12a15__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.
- sycommon/middleware/sandbox.py +1 -1
- {sycommon_python_lib-0.2.12a14.dist-info → sycommon_python_lib-0.2.12a15.dist-info}/METADATA +1 -1
- {sycommon_python_lib-0.2.12a14.dist-info → sycommon_python_lib-0.2.12a15.dist-info}/RECORD +6 -6
- {sycommon_python_lib-0.2.12a14.dist-info → sycommon_python_lib-0.2.12a15.dist-info}/WHEEL +0 -0
- {sycommon_python_lib-0.2.12a14.dist-info → sycommon_python_lib-0.2.12a15.dist-info}/entry_points.txt +0 -0
- {sycommon_python_lib-0.2.12a14.dist-info → sycommon_python_lib-0.2.12a15.dist-info}/top_level.txt +0 -0
sycommon/middleware/sandbox.py
CHANGED
|
@@ -1388,7 +1388,7 @@ def setup_sandbox_handler(app: FastAPI, config: dict = None):
|
|
|
1388
1388
|
# 字符串拼接 SYT_BASE_URL + path,前缀自动带上。
|
|
1389
1389
|
env["SYT_BASE_URL"] = f"{gw}/__u__/{req.user_id}" if req.user_id else gw
|
|
1390
1390
|
env["HTTP_PROXY"] = env["http_proxy"] = gw
|
|
1391
|
-
env["NO_PROXY"] = env["no_proxy"] = "localhost,127.0.0.1,::1"
|
|
1391
|
+
env["NO_PROXY"] = env["no_proxy"] = "localhost,127.0.0.1,127.0.0.0/8,::1"
|
|
1392
1392
|
# 技能 scope(system/shengye-platform/user):网关据此分级出网策略。
|
|
1393
1393
|
# 命令级权威注入(审核 P0-3):env 只写 scope 供脚本读取展示;
|
|
1394
1394
|
# 真正的分级判定在网关侧按【本命令的 scope】执行——见下方
|
|
@@ -270,7 +270,7 @@ sycommon/middleware/exception.py,sha256=suu9n5XgLBJHGNY1zc76g1k48cs64U38MKAj2RGM
|
|
|
270
270
|
sycommon/middleware/middleware.py,sha256=fAW7Rje6u0uZ_7Dc_c-pTmoK2A20HdXFT2h1Mwmj2Dc,1962
|
|
271
271
|
sycommon/middleware/monitor_memory.py,sha256=pYRK-wRuDd6enSg9Pf8tQxPdYQS6S0AyjyXeKFRLKEs,628
|
|
272
272
|
sycommon/middleware/mq.py,sha256=9X6KKtadFjBXKS5L3kEKujYio9wwGfWgXwWOAHO-HDg,254
|
|
273
|
-
sycommon/middleware/sandbox.py,sha256=
|
|
273
|
+
sycommon/middleware/sandbox.py,sha256=iu8q5CdQyiCzPqhlCC-QwHWeiuNRQXR5lLcZoZ0vMLY,127864
|
|
274
274
|
sycommon/middleware/sandbox_gateway.py,sha256=Lutc3yyvN7uxbHTjqm2XSHpLrxM7hNtUsnhqBKXdNY8,32557
|
|
275
275
|
sycommon/middleware/timeout.py,sha256=KlxOPa8xl2dg6yuRi_EzkVJG8bX4stb5ueYxctzzGM8,1433
|
|
276
276
|
sycommon/middleware/token_tracking.py,sha256=rEbgV1bgWMdzAERx4aq5XAvOIT6jTY_tK1P0xHJnL3o,6609
|
|
@@ -404,8 +404,8 @@ sycommon/tools/usercache.py,sha256=Zu2oiXISUOojleEYCAS9t06ZzgWSNHCIhCjv4yTtkRw,4
|
|
|
404
404
|
sycommon/xxljob/__init__.py,sha256=7eoBlQxv-B39IfRSCY2bkqdGYs1QRe1umAWd88VMEEM,86
|
|
405
405
|
sycommon/xxljob/sharding.py,sha256=LJ0tle7qSUS32S5ntjzri1aOcPzwL5CFde3W4Rf1AUE,2560
|
|
406
406
|
sycommon/xxljob/xxljob_service.py,sha256=1yifwIBNGsCIxLnQjHKiBlbsigc_zvPH-dMTZcNxe-Q,7649
|
|
407
|
-
sycommon_python_lib-0.2.
|
|
408
|
-
sycommon_python_lib-0.2.
|
|
409
|
-
sycommon_python_lib-0.2.
|
|
410
|
-
sycommon_python_lib-0.2.
|
|
411
|
-
sycommon_python_lib-0.2.
|
|
407
|
+
sycommon_python_lib-0.2.12a15.dist-info/METADATA,sha256=qNou2Hd_mOzqNvZCT_Xi8oYnUZpBOpCBMXqH1pFO4lM,8028
|
|
408
|
+
sycommon_python_lib-0.2.12a15.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
409
|
+
sycommon_python_lib-0.2.12a15.dist-info/entry_points.txt,sha256=gsR4SssKxDWjRU8ggidzNcdMXDPRSKRS7UaGyNP84Qg,92
|
|
410
|
+
sycommon_python_lib-0.2.12a15.dist-info/top_level.txt,sha256=RgphKrg7nJyZ7irJqbxFr-5H2LUYTvI7ivoWZH2hcD0,29
|
|
411
|
+
sycommon_python_lib-0.2.12a15.dist-info/RECORD,,
|
|
File without changes
|
{sycommon_python_lib-0.2.12a14.dist-info → sycommon_python_lib-0.2.12a15.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{sycommon_python_lib-0.2.12a14.dist-info → sycommon_python_lib-0.2.12a15.dist-info}/top_level.txt
RENAMED
|
File without changes
|