We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ea343d commit 0b3cba7Copy full SHA for 0b3cba7
polarion_rest_api_client/client.py
@@ -806,12 +806,11 @@ def update_work_item(
806
fields will stay untouched.
807
"""
808
assert work_item.id is not None
809
- work_item_type = work_item.type or oa_types.UNSET
810
- if work_item_type:
+ if work_item.type:
811
logger.warning(
812
- "You are attempting to change the type of Work Item %s to %s.",
+ "Attempting to change the type of Work Item %s to %s.",
813
work_item.id,
814
- work_item_type,
+ work_item.type,
815
)
816
817
response = patch_work_item.sync_detailed(
0 commit comments