ls-algorithm-plugin-sdk 0.3.5__py3-none-any.whl → 0.3.6__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.
@@ -34,7 +34,7 @@ def configure_parser(parser: argparse.ArgumentParser) -> None:
34
34
  parser.add_argument("--parameters", type=json_object)
35
35
  parser.add_argument("--request-file", type=Path)
36
36
  parser.add_argument("--scratch-dir")
37
- parser.add_argument("--algorithm-log", type=Path)
37
+ parser.add_argument("--log", type=Path)
38
38
  parser.set_defaults(handler=execute)
39
39
 
40
40
 
@@ -139,10 +139,10 @@ def execute(args: argparse.Namespace) -> int:
139
139
  )
140
140
  try:
141
141
  with ExitStack() as stack:
142
- if args.algorithm_log is not None:
143
- args.algorithm_log.parent.mkdir(parents=True, exist_ok=True)
142
+ if args.log is not None:
143
+ args.log.parent.mkdir(parents=True, exist_ok=True)
144
144
  stream = stack.enter_context(
145
- args.algorithm_log.open("w", encoding="utf-8", buffering=1)
145
+ args.log.open("w", encoding="utf-8", buffering=1)
146
146
  )
147
147
  stack.enter_context(redirect_stdout(stream))
148
148
  stack.enter_context(redirect_stderr(stream))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ls-algorithm-plugin-sdk
3
- Version: 0.3.5
3
+ Version: 0.3.6
4
4
  Summary: Protocol-independent runtime SDK for dataset algorithms
5
5
  Author: Ling Robotics
6
6
  License: Proprietary
@@ -17,7 +17,7 @@ algorithm_plugin_sdk/cli_impl/__init__.py,sha256=uLknQVGipNd7eSJegDHZS0NVowMa0qA
17
17
  algorithm_plugin_sdk/cli_impl/configure.py,sha256=hO9vwFfZ4yqeQUyYc3heE1MDLK1lppN69OoF2zeVVaM,13761
18
18
  algorithm_plugin_sdk/cli_impl/cut.py,sha256=R3ecRzDHffJZNqbJaKeX4S4hUFdQl2afXAfklkX1Ah0,19764
19
19
  algorithm_plugin_sdk/cli_impl/parsing.py,sha256=TDX45Spu4WMrczuzTMN9ZC2SYyHE11OPBCvN45yPsxs,1399
20
- algorithm_plugin_sdk/cli_impl/run.py,sha256=C4raNwhj4KZJc7_aTJeoiwNMQtgeXyMWyLTZEVUL0mM,6041
20
+ algorithm_plugin_sdk/cli_impl/run.py,sha256=1FuOpYYOAp-iyc8-KRSVch33v3D3Zd6j2oGUkgYi9PI,6001
21
21
  algorithm_plugin_sdk/cli_impl/serve.py,sha256=1Ma08MHMjKk9wKO8tGdymVvedcGC-jaKdaUCVBTPMro,5187
22
22
  algorithm_plugin_sdk/examples/__init__.py,sha256=WxZZzUzxKhqZg3KibVY-7CB960DNjt6IfjciZ8JXbq0,57
23
23
  algorithm_plugin_sdk/examples/example_algorithm.py,sha256=j2RsVaRPxpJn3kK6_H_JqAceKTpJE8txNm-oTrH2v6E,3787
@@ -26,8 +26,8 @@ algorithm_plugin_sdk/webui/__init__.py,sha256=cvtaktJXz_DYG4QbV5ppoqY2bFaMLuiUcT
26
26
  algorithm_plugin_sdk/webui/app.css,sha256=5HGDKlbUFLZMgCknlRuwCjiNcCr8poIF5YGHchyaamE,2965
27
27
  algorithm_plugin_sdk/webui/app.js,sha256=0YsXsocEY3yDseG3jh0RhzI8xo_bYmsbSxdN3FdCswQ,7657
28
28
  algorithm_plugin_sdk/webui/index.html,sha256=Z222OuaacWdbr0s-sjJq6wmg45u96tIneM5-LP55Z8I,2261
29
- ls_algorithm_plugin_sdk-0.3.5.dist-info/METADATA,sha256=Smgf_xFlGbqL5k73zGtyUKpY7VMvkfDRd-_ZNEFyGWM,2709
30
- ls_algorithm_plugin_sdk-0.3.5.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
31
- ls_algorithm_plugin_sdk-0.3.5.dist-info/entry_points.txt,sha256=TU0R_TxuB5OuOiZ5BHOEmUPtHvN3v8ARUW8d3PztHcE,67
32
- ls_algorithm_plugin_sdk-0.3.5.dist-info/top_level.txt,sha256=8lsgxZ8HJGLlzJ5Rt8CiVzw9Ccme286i3akbmeMjBos,21
33
- ls_algorithm_plugin_sdk-0.3.5.dist-info/RECORD,,
29
+ ls_algorithm_plugin_sdk-0.3.6.dist-info/METADATA,sha256=2Hq86ZVOEuL6xLDMbPvJBgC_w67uF1JXIiAguEh7mNA,2709
30
+ ls_algorithm_plugin_sdk-0.3.6.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
31
+ ls_algorithm_plugin_sdk-0.3.6.dist-info/entry_points.txt,sha256=TU0R_TxuB5OuOiZ5BHOEmUPtHvN3v8ARUW8d3PztHcE,67
32
+ ls_algorithm_plugin_sdk-0.3.6.dist-info/top_level.txt,sha256=8lsgxZ8HJGLlzJ5Rt8CiVzw9Ccme286i3akbmeMjBos,21
33
+ ls_algorithm_plugin_sdk-0.3.6.dist-info/RECORD,,