Skip to content

Commit

Permalink
isort
Browse files Browse the repository at this point in the history
  • Loading branch information
guenp committed Oct 21, 2024
1 parent 0a0df91 commit 0620e77
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,25 @@

import datetime
import json
import logging
import os
import re
from urllib.parse import urlparse
import uuid
from collections import defaultdict
from logging import getLogger
from typing import Any, Dict, Iterable, List, Mapping
from urllib.parse import urlparse

import duckdb

import logging
from airbyte_cdk.destinations import Destination
from airbyte_cdk.models import (
AirbyteConnectionStatus,
AirbyteMessage,
ConfiguredAirbyteCatalog,
DestinationSyncMode,
Status,
Type,
)
from airbyte_cdk.sql.types import SQLTypeConverter
from airbyte_cdk.sql.constants import (
AB_RAW_ID_COLUMN,
AB_EXTRACTED_AT_COLUMN,
AB_META_COLUMN,
AB_INTERNAL_COLUMNS,
)
from airbyte_cdk.models import AirbyteConnectionStatus, AirbyteMessage, ConfiguredAirbyteCatalog, DestinationSyncMode, Status, Type
from airbyte_cdk.sql._processors.duckdb import DuckDBConfig, DuckDBSqlProcessor
from airbyte_cdk.sql._processors.motherduck import MotherDuckConfig, MotherDuckSqlProcessor
from airbyte_cdk.sql._util.name_normalizers import LowerCaseNormalizer
from airbyte_cdk.sql._processors.duckdb import DuckDBSqlProcessor, DuckDBConfig
from airbyte_cdk.sql._processors.motherduck import MotherDuckSqlProcessor
from airbyte_cdk.sql._processors.motherduck import MotherDuckConfig
from airbyte_cdk.sql.shared.catalog_providers import CatalogProvider
from airbyte_cdk.sql.constants import AB_EXTRACTED_AT_COLUMN, AB_INTERNAL_COLUMNS, AB_META_COLUMN, AB_RAW_ID_COLUMN
from airbyte_cdk.sql.secrets import SecretString

from airbyte_cdk.sql.shared.catalog_providers import CatalogProvider
from airbyte_cdk.sql.types import SQLTypeConverter

logger = getLogger("airbyte")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,8 @@
from unittest.mock import Mock, patch

import pytest
from destination_motherduck.destination import (
CONFIG_DEFAULT_SCHEMA,
DestinationMotherDuck,
validated_sql_name,
)

from airbyte_cdk.models import AirbyteMessage, ConfiguredAirbyteCatalog, Status, Type
from destination_motherduck.destination import CONFIG_DEFAULT_SCHEMA, DestinationMotherDuck, validated_sql_name


def test_validated_sql_name() -> None:
Expand Down

0 comments on commit 0620e77

Please sign in to comment.