From 23aa7b6ef717bf8f650c702b6ed5d06c7aa3a4d6 Mon Sep 17 00:00:00 2001 From: Thomas Boles Date: Mon, 4 Nov 2024 14:53:39 -0500 Subject: [PATCH] Adds missing Callable import --- airbyte/_connector_base.py | 2 +- airbyte/destinations/base.py | 2 +- airbyte/destinations/util.py | 2 +- airbyte/sources/base.py | 2 +- airbyte/sources/util.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/airbyte/_connector_base.py b/airbyte/_connector_base.py index a09c4ed1..85ac700a 100644 --- a/airbyte/_connector_base.py +++ b/airbyte/_connector_base.py @@ -6,7 +6,7 @@ import abc import json from pathlib import Path -from typing import TYPE_CHECKING, Any, Literal +from typing import TYPE_CHECKING, Any, Callable, Literal import jsonschema import rich diff --git a/airbyte/destinations/base.py b/airbyte/destinations/base.py index e42d0414..4ebbf040 100644 --- a/airbyte/destinations/base.py +++ b/airbyte/destinations/base.py @@ -7,7 +7,7 @@ from __future__ import annotations import warnings -from typing import IO, TYPE_CHECKING, Any, Literal, cast +from typing import IO, TYPE_CHECKING, Any, Callable, Literal, cast from airbyte_protocol.models import ( Type, diff --git a/airbyte/destinations/util.py b/airbyte/destinations/util.py index 605f9b13..ab934cb2 100644 --- a/airbyte/destinations/util.py +++ b/airbyte/destinations/util.py @@ -6,7 +6,7 @@ from __future__ import annotations -from typing import TYPE_CHECKING, Any +from typing import TYPE_CHECKING, Any, Callable from airbyte._executors.util import get_connector_executor from airbyte.destinations.base import Destination diff --git a/airbyte/sources/base.py b/airbyte/sources/base.py index 81505760..c120f41c 100644 --- a/airbyte/sources/base.py +++ b/airbyte/sources/base.py @@ -6,7 +6,7 @@ import json import warnings from pathlib import Path -from typing import TYPE_CHECKING, Any, Literal +from typing import TYPE_CHECKING, Any, Callable, Literal import yaml from rich import print # noqa: A004 # Allow shadowing the built-in diff --git a/airbyte/sources/util.py b/airbyte/sources/util.py index ed6f8bff..89420be9 100644 --- a/airbyte/sources/util.py +++ b/airbyte/sources/util.py @@ -5,7 +5,7 @@ import warnings from decimal import Decimal, InvalidOperation -from typing import TYPE_CHECKING, Any +from typing import TYPE_CHECKING, Any, Callable from airbyte._executors.util import get_connector_executor from airbyte.exceptions import PyAirbyteInputError