Skip to content

Commit f0ff54b

Browse files
cosminachoclaude
andcommitted
Chore: drop from __future__ import annotations across the repo
Python 3.11+ is the minimum, so the postponed-evaluation import is noise. Three files had it; none used TYPE_CHECKING-only imports that depended on lazy annotations, so removing it is safe. pyright, ruff, and pytest all remain green. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent df1c6e2 commit f0ff54b

3 files changed

Lines changed: 0 additions & 6 deletions

File tree

packages/uipath_langchain_client/src/uipath_langchain_client/clients/litellm/embeddings.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
>>> vectors = embeddings.embed_documents(["Hello world"])
1111
"""
1212

13-
from __future__ import annotations
14-
1513
from pydantic import Field, model_validator
1614
from typing_extensions import Self
1715

src/uipath/llm_client/clients/normalized/completions.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
"""Completions endpoint for the UiPath Normalized API."""
22

3-
from __future__ import annotations
4-
53
import json
64
from collections.abc import AsyncGenerator, Callable, Generator, Sequence
75
from typing import Any, Union, get_args, get_origin, get_type_hints

src/uipath/llm_client/clients/normalized/embeddings.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
Provides synchronous and asynchronous methods for generating text embeddings.
44
"""
55

6-
from __future__ import annotations
7-
86
from typing import Any
97

108
from uipath.llm_client.clients.normalized.types import (

0 commit comments

Comments
 (0)