Skip to content

Commit 11d0da8

Browse files
committed
docs: Add a comment to explain, how the truncated flags are set if a user requests work items
1 parent da1870f commit 11d0da8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

polarion_rest_api_client/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,9 @@ def _generate_work_item(
622622
work_item_id = work_item.id.split("/")[-1]
623623
work_item_links = []
624624
work_item_attachments = []
625+
626+
# We set both truncated flags to True and will only set them to False,
627+
# if the corresponding fields were requested and returned completely
625628
links_truncated = True
626629
attachments_truncated = True
627630
if work_item.relationships:

0 commit comments

Comments
 (0)