From 19b410204a90a0eee33bbe9d188a538cd59d5c9d Mon Sep 17 00:00:00 2001 From: Anna Lushnikova Date: Tue, 10 Sep 2024 16:45:33 -0400 Subject: [PATCH] Fix code examples for image actions (#910) --- .../resources/images/examples/python/imageActions_get.yml | 2 +- .../resources/images/examples/python/imageActions_list.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/resources/images/examples/python/imageActions_get.yml b/specification/resources/images/examples/python/imageActions_get.yml index ef075b085..d19423f66 100644 --- a/specification/resources/images/examples/python/imageActions_get.yml +++ b/specification/resources/images/examples/python/imageActions_get.yml @@ -5,4 +5,4 @@ source: |- client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN")) - resp = client.image_actions.get(image_id="fd9391a") + resp = client.image_actions.get(action_id=36805527, image_id=7938269) diff --git a/specification/resources/images/examples/python/imageActions_list.yml b/specification/resources/images/examples/python/imageActions_list.yml index bca3325d4..b207504eb 100644 --- a/specification/resources/images/examples/python/imageActions_list.yml +++ b/specification/resources/images/examples/python/imageActions_list.yml @@ -5,4 +5,4 @@ source: |- client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN")) - resp = client.image_actions.list() + resp = client.image_actions.list(image_id=7938269)