


















python -c "import urllib.request; print(urllib.request.urlopen('http://1.0.1.1:9000/health').read())"
docker exec my-container python -c "from src.core.config import get_settings; s=get_settings(); print('test_port=', s.env_settings.http_proxy_test_port)"
docker exec test-worker python -c "import urllib.request; print(urllib.request.urlopen('http://1.0.1.8:9000/health').read())"
b'{"status":"ok"}'
docker exec test-worke python -c "from src.core.database import get_database; print(get_database().fetch_scalar('SELECT 1'))"
打印显示优化
import ppint
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。