Skip to content

fix(Global Catalog): fix price field capitalization #286

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions examples/test_global_catalog_v1_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ def test_update_catalog_entry_example(self):
print('\nupdate_catalog_entry() result:')
# begin-update_catalog_entry

catalog_entry = global_catalog_service.get_catalog_entry(
id=catalog_entry_id,
complete=True,
).get_result()

overview_model_EN = {
'display_name': 'Example Web Starter V2',
'description': 'Use the Example V2 service in your applications',
Expand Down Expand Up @@ -195,6 +200,7 @@ def test_update_catalog_entry_example(self):
provider=provider_model,
active=True,
metadata=metadata_model,
url=catalog_entry['url'],
).get_result()

print(json.dumps(catalog_entry, indent=2))
Expand Down Expand Up @@ -265,7 +271,7 @@ def test_restore_catalog_entry_example(self):

response = global_catalog_service.restore_catalog_entry(
id=catalog_entry_id,
).get_result()
)

# end-restore_catalog_entry

Expand Down Expand Up @@ -309,7 +315,7 @@ def test_update_visibility_example(self):
response = global_catalog_service.update_visibility(
id=catalog_entry_id,
extendable=False,
).get_result()
)

# end-update_visibility

Expand Down Expand Up @@ -381,7 +387,7 @@ def test_upload_artifact_example(self):
artifact_id='artifact.txt',
artifact=artifact_contents,
content_type='text/plain',
).get_result()
)

# end-upload_artifact

Expand Down Expand Up @@ -448,7 +454,7 @@ def test_delete_artifact_example(self):
response = global_catalog_service.delete_artifact(
object_id=catalog_entry_id,
artifact_id='artifact.txt',
).get_result()
)

# end-delete_artifact

Expand All @@ -467,7 +473,7 @@ def test_delete_catalog_entry_example(self):
try:
# begin-delete_catalog_entry

response = global_catalog_service.delete_catalog_entry(id=catalog_entry_id).get_result()
response = global_catalog_service.delete_catalog_entry(id=catalog_entry_id)

# end-delete_catalog_entry

Expand Down
Loading