From 298fe99f2f1077d2352d31598a44fb5bcae884e9 Mon Sep 17 00:00:00 2001 From: samwelkanda Date: Tue, 5 Mar 2024 04:37:31 +0300 Subject: [PATCH 1/2] Fix bug in writing parsable multipart body --- kiota_abstractions/multipart_body.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiota_abstractions/multipart_body.py b/kiota_abstractions/multipart_body.py index 56d121a..572f9aa 100644 --- a/kiota_abstractions/multipart_body.py +++ b/kiota_abstractions/multipart_body.py @@ -108,7 +108,7 @@ def serialize(self, writer: SerializationWriter) -> None: self._add_new_line(writer) if isinstance(part_value[1], Parsable): - self._write_parsable(writer, part_value[1]) + self._write_parsable(writer, part_value) elif isinstance(part_value[1], str): writer.write_str_value("", part_value[1]) elif isinstance(part_value[1], bytes): From a661ce9ccfa99598b7bf98e745ff094f422afcae Mon Sep 17 00:00:00 2001 From: samwelkanda Date: Tue, 5 Mar 2024 04:41:30 +0300 Subject: [PATCH 2/2] Bump version and update changelog --- CHANGELOG.md | 8 ++++++++ kiota_abstractions/_version.py | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cdc57ca..ecb3658 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.3.1] - 2024-03-05 + +### Added + +### Changed + +- Fixed a bug with serialization of parsable multipart body due to unsubscriptable argument type. + ## [1.3.0] - 2024-02-28 ### Added diff --git a/kiota_abstractions/_version.py b/kiota_abstractions/_version.py index 96ce313..57a2f0c 100644 --- a/kiota_abstractions/_version.py +++ b/kiota_abstractions/_version.py @@ -1 +1 @@ -VERSION: str = "1.3.0" +VERSION: str = "1.3.1"