Skip to content

Commit 6ddcba5

Browse files
authored
import override from typing_extension (#14)
1 parent c613a2d commit 6ddcba5

11 files changed

Lines changed: 32 additions & 10 deletions

File tree

.github/workflows/cd-langchain.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ on:
66
- main
77
paths:
88
- 'packages/uipath_langchain_client/src/uipath_langchain_client/__version__.py'
9+
workflow_run:
10+
workflows: ["Publish uipath-llm-client to PyPI"]
11+
types:
12+
- completed
13+
branches:
14+
- main
915
workflow_dispatch:
1016

1117
jobs:
@@ -16,6 +22,11 @@ jobs:
1622
permissions:
1723
contents: read
1824
id-token: write
25+
# Only run if triggered by push/dispatch, OR if the upstream workflow succeeded
26+
if: >
27+
github.event_name == 'push' ||
28+
github.event_name == 'workflow_dispatch' ||
29+
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
1930
2031
steps:
2132
- uses: actions/checkout@v6

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All notable changes to `uipath_llm_client` (core package) will be documented in this file.
44

5+
## [1.0.9] - 2026-02-4
6+
7+
### Typing Fix
8+
- import @override from typing_extension
9+
510
## [1.0.8] - 2026-02-04
611

712
### Bug Fix

packages/uipath_langchain_client/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All notable changes to `uipath_langchain_client` will be documented in this file.
44

5+
## [1.0.10] - 2026-02-04
6+
7+
### Version Upgrade
8+
- Updated version
9+
510
## [1.0.9] - 2026-02-04
611

712
### Fix

packages/uipath_langchain_client/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ readme = "README.md"
66
requires-python = ">=3.11"
77
dependencies = [
88
"langchain>=1.2.7",
9-
"uipath-llm-client>=1.0.8",
9+
"uipath-llm-client>=1.0.9",
1010
]
1111

1212
[project.optional-dependencies]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
__title__ = "UiPath LangChain Client"
22
__description__ = "A Python client for interacting with UiPath's LLM services via LangChain."
3-
__version__ = "1.0.9"
3+
__version__ = "1.0.10"

packages/uipath_langchain_client/src/uipath_langchain_client/clients/anthropic/chat_models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
from functools import cached_property
2-
from typing import Any, Literal, Self, override
2+
from typing import Any, Literal, Self
33

44
from pydantic import Field, model_validator
5+
from typing_extensions import override
56
from uipath_langchain_client.base_client import UiPathBaseLLMClient
67
from uipath_langchain_client.settings import UiPathAPIConfig
78

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
__titile__ = "UiPath LLM Client"
22
__description__ = "A Python client for interacting with UiPath's LLM services."
3-
__version__ = "1.0.8"
3+
__version__ = "1.0.9"

src/uipath_llm_client/settings/agenthub/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
This module provides configuration and authentication for UiPath AgentHub.
55
"""
66

7-
from typing import override
8-
97
from httpx import Auth
8+
from typing_extensions import override
109

1110
from uipath_llm_client.settings.agenthub.auth import AgentHubAuth
1211
from uipath_llm_client.settings.agenthub.settings import AgentHubBaseSettings

src/uipath_llm_client/settings/agenthub/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
import os
44
from collections.abc import Mapping
5-
from typing import Any, Self, override
5+
from typing import Any, Self
66

77
from dotenv import load_dotenv
88
from pydantic import Field, SecretStr, model_validator
99
from pydantic_settings import SettingsConfigDict
10+
from typing_extensions import override
1011
from uipath._cli._auth._auth_service import AuthService
1112
from uipath.utils import EndpointManager
1213

src/uipath_llm_client/settings/llmgateway/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
This module provides configuration and authentication for UiPath LLM Gateway.
55
"""
66

7-
from typing import override
8-
97
from httpx import Auth
8+
from typing_extensions import override
109

1110
from uipath_llm_client.settings.llmgateway.auth import LLMGatewayS2SAuth
1211
from uipath_llm_client.settings.llmgateway.settings import LLMGatewayBaseSettings

0 commit comments

Comments
 (0)