Skip to content

Commit

Permalink
chore: auto-fix lint and format issues
Browse files Browse the repository at this point in the history
  • Loading branch information
octavia-squidington-iii committed Feb 19, 2025
1 parent 309e8a1 commit 4e4f032
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
25 changes: 12 additions & 13 deletions airbyte-integrations/connectors/source-klaviyo/components.py
Original file line number Diff line number Diff line change
@@ -1,30 +1,29 @@
#
# Copyright (c) 2024 Airbyte, Inc., all rights reserved.
#
import dpath
import logging
import requests

from abc import ABC
from dataclasses import dataclass
from typing import Any, Dict, Iterable, Mapping, Optional, Union

import dpath
import requests
from requests.exceptions import InvalidURL
from typing import Any, Dict, Mapping, Optional, Union, Iterable

from airbyte_cdk.sources.streams.call_rate import APIBudget
from airbyte_cdk.sources.streams.http.http_client import HttpClient
from airbyte_cdk.sources.types import Config, StreamSlice, StreamState
from airbyte_cdk.sources.message.repository import InMemoryMessageRepository
from airbyte_cdk.sources.declarative.transformations import RecordTransformation
from airbyte_cdk.sources.declarative.declarative_stream import DeclarativeStream
from airbyte_cdk.sources.declarative.extractors.dpath_extractor import DpathExtractor
from airbyte_cdk.sources.declarative.interpolation.interpolated_string import InterpolatedString
from airbyte_cdk.sources.declarative.migrations.state_migration import StateMigration
from airbyte_cdk.sources.declarative.requesters.error_handlers import DefaultErrorHandler
from airbyte_cdk.sources.declarative.interpolation.interpolated_string import InterpolatedString
from airbyte_cdk.sources.streams.http.error_handlers.default_error_mapping import DEFAULT_ERROR_MAPPING
from airbyte_cdk.sources.declarative.requesters.error_handlers.backoff_strategies import WaitTimeFromHeaderBackoffStrategy
from airbyte_cdk.sources.declarative.transformations import RecordTransformation
from airbyte_cdk.sources.message.repository import InMemoryMessageRepository
from airbyte_cdk.sources.streams.call_rate import APIBudget
from airbyte_cdk.sources.streams.http.error_handlers import BackoffStrategy, ErrorHandler, HttpStatusErrorHandler
from airbyte_cdk.sources.streams.http.error_handlers.default_error_mapping import DEFAULT_ERROR_MAPPING
from airbyte_cdk.sources.streams.http.error_handlers.response_models import ErrorResolution, FailureType, ResponseAction
from airbyte_cdk.sources.declarative.requesters.error_handlers.backoff_strategies import WaitTimeFromHeaderBackoffStrategy

from airbyte_cdk.sources.streams.http.http_client import HttpClient
from airbyte_cdk.sources.types import Config, StreamSlice, StreamState


ARCHIVED_EMAIL = {"archived": "true", "campaign_type": "email"}
Expand Down
7 changes: 3 additions & 4 deletions airbyte-integrations/connectors/source-klaviyo/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ data:
connectorType: source
definitionId: 95e8cffd-b8c4-4039-968e-d32fb4a69bde
connectorBuildOptions:
baseImage:
docker.io/airbyte/source-declarative-manifest:6.33.7@sha256:d30897ff117abcd185b369400fe1f4074b1043e2352cb1c8b03033d56c90742f
baseImage: docker.io/airbyte/source-declarative-manifest:6.33.7@sha256:d30897ff117abcd185b369400fe1f4074b1043e2352cb1c8b03033d56c90742f
dockerImageTag: 2.14.0
dockerRepository: airbyte/source-klaviyo
githubIssueLabel: source-klaviyo
Expand Down Expand Up @@ -43,8 +42,8 @@ data:
upgradeDeadline: "2023-11-30"
documentationUrl: https://docs.airbyte.com/integrations/sources/klaviyo
tags:
- cdk:low-code
- language:manifest-only
- cdk:low-code
- language:manifest-only
ab_internal:
sl: 300
ql: 400
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Copyright (c) 2024 Airbyte, Inc., all rights reserved.

pytest_plugins = ["airbyte_cdk.test.utils.manifest_only_fixtures"]
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Copyright (c) 2024 Airbyte, Inc., all rights reserved.

import pytest

from unittest.mock import MagicMock, Mock, patch

import pytest
from requests.models import Response

from airbyte_cdk.sources.declarative.models import (
CustomRetriever,
DatetimeBasedCursor,
Expand All @@ -16,7 +17,6 @@
from airbyte_cdk.sources.declarative.parsers.model_to_component_factory import ModelToComponentFactory



factory = ModelToComponentFactory()
resolver = ManifestReferenceResolver()
transformer = ManifestComponentTransformer()
Expand Down

0 comments on commit 4e4f032

Please sign in to comment.