mpt-extension-sdk 4.6.0__py3-none-any.whl → 4.6.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,9 +34,9 @@ def _paginated(mpt_client, url, limit=10):
34
34
 
35
35
  @wrap_mpt_http_error
36
36
  def get_agreement(mpt_client, agreement_id):
37
- response = mpt_client.get(
38
- f"/commerce/agreements/{agreement_id}?select=seller,buyer,listing,product,subscriptions"
39
- )
37
+ """Retrieve an agreement by ID."""
38
+ query = "select=seller,buyer,listing,product,subscriptions,assets,lines,parameters"
39
+ response = mpt_client.get(f"/commerce/agreements/{agreement_id}?{query}")
40
40
  response.raise_for_status()
41
41
  return response.json()
42
42
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mpt-extension-sdk
3
- Version: 4.6.0
3
+ Version: 4.6.1
4
4
  Summary: Extensions SDK for SoftwareONE Marketplace Platform
5
5
  License: Apache-2.0
6
6
  License-File: LICENSE
@@ -16,7 +16,7 @@ mpt_extension_sdk/key_vault/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
16
16
  mpt_extension_sdk/key_vault/base.py,sha256=RVG_Wiq-MrPyngJ4gfUd8oxoh1LUop1SvtCM2xdlx8M,3361
17
17
  mpt_extension_sdk/mpt_http/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  mpt_extension_sdk/mpt_http/base.py,sha256=8-yZZMBXAPcTqODUlcMQ3JroeRxLbjl5irLco9w3pHs,1448
19
- mpt_extension_sdk/mpt_http/mpt.py,sha256=LI-GL0X57-nT28Bzh0dZ5DCbdZQ4nOuiv_YbU0v63Ho,16483
19
+ mpt_extension_sdk/mpt_http/mpt.py,sha256=Q7x-xHwnXJTrg9AvaJf1z1iZZNrgjayHrclLBh9Jnfo,16554
20
20
  mpt_extension_sdk/mpt_http/utils.py,sha256=3wJTT84CXYGjZw6FksNDX8tIHijkL3Wcmld9r6Iz0xc,95
21
21
  mpt_extension_sdk/mpt_http/wrap_http_error.py,sha256=_f366ZFEJ59hyWYVj_RjkVv-fe5sM0XvJBAy6iQCvqc,1964
22
22
  mpt_extension_sdk/runtime/__init__.py,sha256=PQSAz9qvXHbxrn4KvuXSHB8y-A4Jpgbm6ZV-wPiNPyw,194
@@ -46,8 +46,8 @@ mpt_extension_sdk/runtime/workers.py,sha256=8KdI6neBEiMcc0zha8toCsZutvK2BhEXxb8N
46
46
  mpt_extension_sdk/swo_rql/__init__.py,sha256=QrvRDYhpK-Pd3OF-U2aMeazuKm_kbvXwLRIjd9Mm6ok,104
47
47
  mpt_extension_sdk/swo_rql/constants.py,sha256=39BZ78OzdU_dIQtoy-Z_5utXqEXRweIFvM9Zfxg9j5M,171
48
48
  mpt_extension_sdk/swo_rql/query_builder.py,sha256=XAoMYV1jaAouYjpqrh8nMaDNzD0as-BhMx8rsvdeZ0k,10500
49
- mpt_extension_sdk-4.6.0.dist-info/METADATA,sha256=OwtVphzLngqSj0g-zrmKlHiab6YwKa1ZhkyQGHf469c,1708
50
- mpt_extension_sdk-4.6.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
51
- mpt_extension_sdk-4.6.0.dist-info/entry_points.txt,sha256=8uZQihFseK4Kp5XWHl9EDYneg-CLS8BFO-ygp0h34nc,143
52
- mpt_extension_sdk-4.6.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
53
- mpt_extension_sdk-4.6.0.dist-info/RECORD,,
49
+ mpt_extension_sdk-4.6.1.dist-info/METADATA,sha256=IuAvY9iKVgxuuPV17qBuTiq8AQgnPVl5Wwtce5ewYKY,1708
50
+ mpt_extension_sdk-4.6.1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
51
+ mpt_extension_sdk-4.6.1.dist-info/entry_points.txt,sha256=8uZQihFseK4Kp5XWHl9EDYneg-CLS8BFO-ygp0h34nc,143
52
+ mpt_extension_sdk-4.6.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
53
+ mpt_extension_sdk-4.6.1.dist-info/RECORD,,