-
Notifications
You must be signed in to change notification settings - Fork 18
feat: 添加constant协议转换 #184 #216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feat_new_pipeline_tree_converters_develop
Are you sure you want to change the base?
feat: 添加constant协议转换 #184 #216
Conversation
# Reviewed, transaction id: 41679
# Reviewed, transaction id: 41848
# Reviewed, transaction id: 41992
bkflow/pipeline_converter/converters/json_to_data_model/pipeline.py
Outdated
Show resolved
Hide resolved
| show_type: str = "show" | ||
| validation: str = "" | ||
| custom_type: str | ||
| source_info: List[SourceInfo] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这两个字段,source_info, source_tag印象中后端好像是不需要的,可以确认下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
针对不同的变量,这两个字段有不同的消费,应该保留
# Reviewed, transaction id: 48602
# Reviewed, transaction id: 48614
# Reviewed, transaction id: 48679
bkflow/pipeline_converter/converters/data_model_to_web_pipeline/constant.py
Outdated
Show resolved
Hide resolved
| for info in data.source_info: | ||
| info_field = info.value | ||
|
|
||
| if not (constant_key == info_field == tag_field): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个不一定保证统一吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
有关节点输出变量使用的应该都是字段名,并且是不允许修改的,这里应该是需要保持统一的
# Reviewed, transaction id: 48748
Reviewed, transaction id: 41679