From ac271f126dc325eca2a63ab1a399690e62f1d41d Mon Sep 17 00:00:00 2001 From: Cosmin Maria Date: Wed, 4 Feb 2026 18:21:16 +0200 Subject: [PATCH] typeddict fix --- CHANGELOG.md | 5 ++++- packages/uipath_langchain_client/CHANGELOG.md | 5 +++++ packages/uipath_langchain_client/pyproject.toml | 2 +- .../src/uipath_langchain_client/__version__.py | 2 +- src/uipath_llm_client/__version__.py | 2 +- src/uipath_llm_client/utils/retry.py | 3 ++- 6 files changed, 14 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 471db9b..52a0707 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,10 @@ All notable changes to `uipath_llm_client` (core package) will be documented in this file. -## [1.0.9] - 2026-02-4 +## [1.0.10] - 2026-02-04 + +### Type fix +- Import TypedDict from typing_extension ### Typing Fix - import @override from typing_extension diff --git a/packages/uipath_langchain_client/CHANGELOG.md b/packages/uipath_langchain_client/CHANGELOG.md index 77e2488..4d55516 100644 --- a/packages/uipath_langchain_client/CHANGELOG.md +++ b/packages/uipath_langchain_client/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to `uipath_langchain_client` will be documented in this file. +## [1.0.11] - 2026-02-04 + +### Type fix +- Import TypedDict from typing_extension + ## [1.0.10] - 2026-02-04 ### Version Upgrade diff --git a/packages/uipath_langchain_client/pyproject.toml b/packages/uipath_langchain_client/pyproject.toml index 58917ab..c2eb1e8 100644 --- a/packages/uipath_langchain_client/pyproject.toml +++ b/packages/uipath_langchain_client/pyproject.toml @@ -6,7 +6,7 @@ readme = "README.md" requires-python = ">=3.11" dependencies = [ "langchain>=1.2.7", - "uipath-llm-client>=1.0.9", + "uipath-llm-client>=1.0.10", ] [project.optional-dependencies] diff --git a/packages/uipath_langchain_client/src/uipath_langchain_client/__version__.py b/packages/uipath_langchain_client/src/uipath_langchain_client/__version__.py index 8d0ea60..c60ed1d 100644 --- a/packages/uipath_langchain_client/src/uipath_langchain_client/__version__.py +++ b/packages/uipath_langchain_client/src/uipath_langchain_client/__version__.py @@ -1,3 +1,3 @@ __title__ = "UiPath LangChain Client" __description__ = "A Python client for interacting with UiPath's LLM services via LangChain." -__version__ = "1.0.10" +__version__ = "1.0.11" diff --git a/src/uipath_llm_client/__version__.py b/src/uipath_llm_client/__version__.py index 5a9effc..0dafd77 100644 --- a/src/uipath_llm_client/__version__.py +++ b/src/uipath_llm_client/__version__.py @@ -1,3 +1,3 @@ __titile__ = "UiPath LLM Client" __description__ = "A Python client for interacting with UiPath's LLM services." -__version__ = "1.0.9" +__version__ = "1.0.10" diff --git a/src/uipath_llm_client/utils/retry.py b/src/uipath_llm_client/utils/retry.py index 0bb1305..51c0be0 100644 --- a/src/uipath_llm_client/utils/retry.py +++ b/src/uipath_llm_client/utils/retry.py @@ -27,7 +27,7 @@ """ import logging -from typing import Any, Callable, NotRequired, TypedDict +from typing import Any, Callable, NotRequired from httpx import AsyncHTTPTransport, HTTPTransport, Request, Response from tenacity import ( @@ -38,6 +38,7 @@ stop_after_attempt, wait_exponential_jitter, ) +from typing_extensions import TypedDict from uipath_llm_client.utils.exceptions import UiPathAPIError, UiPathRateLimitError