已关闭
Python SDK 对外契约与实现不一致,文档示例会直接失败 #5
zhaoyifan28创建于 4月23日关闭于 7月6日
4月23日 添加了label:sig/sig-CloudNative
openeuler-ci-bot
4月23日 评论:
4月23日 评论:
Welcome To openEuler Community
Hey @zhaoyifan28 , thanks for your contribution to the community.
Bot Usage Manual
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.
Contact Guide
If you have any questions, please contact the SIG: sig-CloudNative ,
and any of the maintainers: @duguhaotian, @jimmieme, @lu-wei-army, @taotao-sauce, @weibaohui, @wonleing, @yangzhao_kl, @zmr_2020 ,
and any of the committers: @liuxu180400617 .


4月27日 关联了pull request:[WIP][sdk] fix inconsistency between Python SDK interface and implementation
4月27日 关联了pull request:[WIP][sdk] fix inconsistency between Python SDK interface and implementation
chantsztung
4月30日 评论:
4月30日 评论:
issue问题已解决,pr已合入
https://atomgit.com/openeuler/Conch/pull/78


zhaoyifan28
7月6日 评论:
7月6日 评论:
/close


zhaoyifan28
7月6日 评论:
7月6日 评论:
/close


7月6日 issue状态由 待办的 改变为 已完成
7月6日 关闭了 issue
问题:
execute(timeout=..., user=...)这样的调用方式。Sandbox.execute()也确实向下传递了timeout和user。AgentClient.start_process()根本不接受这两个参数,结果是客户端本地直接报TypeError。关键证据:
execute()支持timeout:timeout/user:建议修复方向:
timeout/user做到 SDK -> proto -> agent 端;