Skip to content

TPT-4571: Add source image label support - #765

Open
josephcardillo-akamai wants to merge 2 commits into
linode:devfrom
josephcardillo-akamai:TPT-4571/source-image-label
Open

josephcardillo-akamai wants to merge 2 commits into
linode:devfrom
josephcardillo-akamai:TPT-4571/source-image-label

Conversation

@josephcardillo-akamai

Copy link
Copy Markdown

📝 Description

What does this PR do and why is this change necessary?

Adds source_image_label to ImageSharingSharedBy. The API returns this field, but the SDK’s typed Image model previously discarded it.

Ex:

>>> print(image.image_sharing.shared_by.source_image_label)
Traceback (most recent call last):
  File "<python-input-8>", line 1, in <module>
    print(image.image_sharing.shared_by.source_image_label)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ImageSharingSharedBy' object has no attribute 'source_image_label'. Did you mean: 'source_image_id'?

✔️ How to Test

Load a shared image with client.load(Image, image_id) and check image.image_sharing.shared_by.source_image_label.

make test-unit

@josephcardillo-akamai
josephcardillo-akamai requested review from a team as code owners December 1, 2026 17:02
@josephcardillo-akamai
josephcardillo-akamai requested review from n0vabyte and psnoch-akamai and removed request for a team December 1, 2026 17:02

This branch has not been deployed

No deployments
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.

1 participant