Commit c519c40d authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweaks

parent 36ec731e
# csst-echo
Docker image for csst-echo pipeline.
```shell
docker run csst-echo python /pipeline/app/run.py '{"dag_run": "12345"}'
```
......@@ -21,5 +21,12 @@ p.info()
# parse JSON message
if len(sys.argv) == 2:
msg = sys.argv[1]
else:
raise ValueError("sys.argv[1] is required")
d = p.message.msg2dict(msg)
print(f"Input message: {d}")
p.pipeline_logger.info(f"sys.argv = {sys.argv}")
exit(0)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment