Skip to content

Commit

Permalink
formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
bazarnov committed Nov 29, 2024
1 parent 32f3a02 commit 4a29cea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions airbyte_cdk/sources/streams/http/http_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#

from airbyte_cdk.utils.airbyte_secrets_utils import filter_secrets

import logging
import os
import urllib
Expand Down Expand Up @@ -47,13 +45,13 @@
rate_limit_default_backoff_handler,
user_defined_backoff_handler,
)
from airbyte_cdk.sources.utils.types import JsonType
from airbyte_cdk.utils.airbyte_secrets_utils import filter_secrets
from airbyte_cdk.utils.constants import ENV_REQUEST_CACHE_PATH
from airbyte_cdk.utils.stream_status_utils import (
as_airbyte_message as stream_status_as_airbyte_message,
)
from airbyte_cdk.utils.traced_exception import AirbyteTracedException
from requests.auth import AuthBase
from airbyte_cdk.sources.utils.types import JsonType

BODY_REQUEST_METHODS = ("GET", "POST", "PUT", "PATCH")

Expand Down
3 changes: 1 addition & 2 deletions unit_tests/sources/streams/http/test_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#

from airbyte_cdk.utils.airbyte_secrets_utils import update_secrets

import json
import logging
from http import HTTPStatus
Expand All @@ -30,6 +28,7 @@
)
from airbyte_cdk.sources.streams.http.http_client import MessageRepresentationAirbyteTracedErrors
from airbyte_cdk.sources.streams.http.requests_native_auth import TokenAuthenticator
from airbyte_cdk.utils.airbyte_secrets_utils import update_secrets


class StubBasicReadHttpStream(HttpStream):
Expand Down

0 comments on commit 4a29cea

Please sign in to comment.