From 59c3ef7fbd268d1cbc5ac356684814a02cc3f08a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 18 Feb 2026 15:45:40 +0000 Subject: [PATCH 1/2] Initial plan From a5f8edfdd469c3725ee12a78791bfdc489ca84ba Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 18 Feb 2026 15:48:57 +0000 Subject: [PATCH 2/2] Fix TorchTensor TypeAlias mypy error by moving TypeAlias import inside TYPE_CHECKING blocks Co-authored-by: franciscojavierarceo <4163062+franciscojavierarceo@users.noreply.github.com> --- sdk/python/feast/online_response.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sdk/python/feast/online_response.py b/sdk/python/feast/online_response.py index 2491a28badc..eb3043b3387 100644 --- a/sdk/python/feast/online_response.py +++ b/sdk/python/feast/online_response.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from typing import TYPE_CHECKING, Any, Dict, List, TypeAlias, Union +from typing import TYPE_CHECKING, Any, Dict, List, Union import pandas as pd import pyarrow as pa @@ -23,10 +23,14 @@ from feast.type_map import feast_value_type_to_python_type if TYPE_CHECKING: + from typing import TypeAlias + import torch TorchTensor: TypeAlias = torch.Tensor else: + from typing import TypeAlias + TorchTensor: TypeAlias = Any TIMESTAMP_POSTFIX: str = "__ts"