From 9f3e49255e8eba1a89e5d79ce73a9e34de56e8d1 Mon Sep 17 00:00:00 2001 From: Create or Update Pull Request Action Date: Tue, 7 May 2024 12:02:34 +0000 Subject: [PATCH] Update kiota version to 1.14.0 --- Makefile | 2 +- examples/basic_example.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 39adf1e..4cbc834 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ ifneq ($(filter arm%,$(OS_ARCH)),) endif # env variables -KIOTA_VERSION ?= "v1.13.0" +KIOTA_VERSION ?= "v1.14.0" HORREUM_BRANCH ?= "master" HORREUM_OPENAPI_PATH ?= "https://raw.githubusercontent.com/Hyperfoil/Horreum/${HORREUM_BRANCH}/docs/site/content/en/openapi/openapi.yaml" GENERATED_CLIENT_PATH = "${PROJECT_PATH}/src/horreum/raw_client" diff --git a/examples/basic_example.py b/examples/basic_example.py index ee7792c..2a60714 100644 --- a/examples/basic_example.py +++ b/examples/basic_example.py @@ -42,7 +42,7 @@ async def create_schema_transformers(client: HorreumClient, schema_id: int, data transformer_data.extractors = extractors_data - transformer_id = await client.raw_client.api.schema.by_id_id(schema_id).transformers.post(transformer_data) + transformer_id = await client.raw_client.api.schema.by_id(schema_id).transformers.post(transformer_data) assert transformer_id > 0 return transformer_id @@ -105,7 +105,7 @@ async def delete_all(client: HorreumClient): print("cleaning up schemas") get_schemas = await client.raw_client.api.schema.get() for s in get_schemas.schemas: - await client.raw_client.api.schema.by_id_id(s.id).delete() + await client.raw_client.api.schema.by_id(s.id).delete() get_schemas = await client.raw_client.api.schema.get() assert get_schemas.count == 0