Skip to content

Commit

Permalink
Update attributes and __slots__
Browse files Browse the repository at this point in the history
  • Loading branch information
pbortlov committed Mar 4, 2021
1 parent f7c3a92 commit b818040
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions iiblib/iib_build_details_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,30 +221,31 @@ class AddModel(IIBBuildDetailsModel):
"binary_image_resolved",
"bundles",
"bundle_mapping",
"deprecation_list",
"distribution_scope",
"from_index",
"from_index_resolved",
"index_image",
"index_image_resolved",
"removed_operators",
"organization",
"omps_operator_version",
"distribution_scope",
]

_operation_attrs = [
"binary_image",
"binary_image_resolved",
"bundles",
"bundle_mapping",
"deprecation_list",
"distribution_scope",
"from_index",
"from_index_resolved",
"index_image",
"index_image_resolved",
"removed_operators",
"organization",
"omps_operator_version",
"distribution_scope",
"deprecation_list"
]

_accepted_request_type = "add"
Expand Down Expand Up @@ -286,27 +287,28 @@ class RmModel(IIBBuildDetailsModel):
"binary_image_resolved",
"bundles",
"bundle_mapping",
"deprecation_list",
"distribution_scope",
"from_index",
"from_index_resolved",
"index_image",
"index_image_resolved",
"removed_operators",
"organization",
"distribution_scope",
"removed_operators",
]
_operation_attrs = [
"binary_image",
"binary_image_resolved",
"bundles",
"bundle_mapping",
"deprecation_list",
"distribution_scope",
"from_index",
"from_index_resolved",
"index_image",
"index_image_resolved",
"removed_operators",
"organization",
"distribution_scope",
"deprecation_list"
"removed_operators",
]

_accepted_request_type = "rm"
Expand Down

0 comments on commit b818040

Please sign in to comment.