Skip to content
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

CiManager.add and AttributeValueManager.create_or_update_attr_value update #69

Merged
merged 6 commits into from
Jan 28, 2021
Merged

Conversation

lovvvve
Copy link
Contributor

@lovvvve lovvvve commented Jan 28, 2021

feat(CiManager.add()): attr 属性是否在 ci_type 的 attr 列表中,如果不在就跳过
feat(AttributeValueManager.create_or_update_attr_value()): value 相同是跳过不更新
fix(AttributeValueManager.create_or_update_attr_value()): value type 是 int 或 float 时 value 值等于 0 是会删除 的 BUG

 feat(CiManager.add()): Check the attribute is in the ci_type attributes list
feat(AttributeValueManager.create_or_update_attr_value()): AttributeValue update skip The same value
feat(AttributeValueManager.create_or_update_attr_value()): AttributeValue update skip The same value
兼容 py2
value type 是 int 或 float 时 value 值等于 0 是会删除 的 BUG
@pycook pycook merged commit c93e8c9 into veops:master Jan 28, 2021
pycook added a commit that referenced this pull request Jul 19, 2023
CiManager.add and AttributeValueManager.create_or_update_attr_value update
pycook added a commit that referenced this pull request Nov 7, 2023
CiManager.add and AttributeValueManager.create_or_update_attr_value update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants