airbyte-cdk 6.6.9__py3-none-any.whl → 6.7.0.dev4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- airbyte_cdk/cli/source_declarative_manifest/_run.py +1 -2
- airbyte_cdk/config_observation.py +1 -2
- airbyte_cdk/connector.py +0 -1
- airbyte_cdk/connector_builder/connector_builder_handler.py +1 -1
- airbyte_cdk/connector_builder/main.py +1 -2
- airbyte_cdk/destinations/destination.py +1 -2
- airbyte_cdk/destinations/vector_db_based/config.py +1 -2
- airbyte_cdk/destinations/vector_db_based/document_processor.py +3 -4
- airbyte_cdk/destinations/vector_db_based/embedder.py +4 -5
- airbyte_cdk/entrypoint.py +2 -3
- airbyte_cdk/logger.py +1 -2
- airbyte_cdk/models/airbyte_protocol.py +1 -2
- airbyte_cdk/sources/config.py +1 -2
- airbyte_cdk/sources/declarative/auth/jwt.py +0 -1
- airbyte_cdk/sources/declarative/auth/oauth.py +0 -1
- airbyte_cdk/sources/declarative/auth/selective_authenticator.py +0 -1
- airbyte_cdk/sources/declarative/auth/token.py +1 -2
- airbyte_cdk/sources/declarative/auth/token_provider.py +2 -3
- airbyte_cdk/sources/declarative/concurrent_declarative_source.py +4 -6
- airbyte_cdk/sources/declarative/declarative_component_schema.yaml +13 -13
- airbyte_cdk/sources/declarative/decoders/json_decoder.py +2 -3
- airbyte_cdk/sources/declarative/decoders/noop_decoder.py +0 -1
- airbyte_cdk/sources/declarative/decoders/pagination_decoder_decorator.py +0 -1
- airbyte_cdk/sources/declarative/decoders/xml_decoder.py +0 -1
- airbyte_cdk/sources/declarative/extractors/dpath_extractor.py +0 -1
- airbyte_cdk/sources/declarative/extractors/http_selector.py +0 -1
- airbyte_cdk/sources/declarative/extractors/record_selector.py +0 -1
- airbyte_cdk/sources/declarative/extractors/response_to_file_extractor.py +1 -2
- airbyte_cdk/sources/declarative/incremental/datetime_based_cursor.py +1 -2
- airbyte_cdk/sources/declarative/interpolation/jinja.py +4 -5
- airbyte_cdk/sources/declarative/manifest_declarative_source.py +3 -4
- airbyte_cdk/sources/declarative/migrations/legacy_to_per_partition_state_migration.py +1 -1
- airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py +2 -3
- airbyte_cdk/sources/declarative/partition_routers/substream_partition_router.py +0 -1
- airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/constant_backoff_strategy.py +0 -1
- airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/exponential_backoff_strategy.py +0 -1
- airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/wait_time_from_header_backoff_strategy.py +0 -1
- airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/wait_until_time_from_header_backoff_strategy.py +0 -1
- airbyte_cdk/sources/declarative/requesters/error_handlers/composite_error_handler.py +0 -1
- airbyte_cdk/sources/declarative/requesters/error_handlers/default_error_handler.py +0 -1
- airbyte_cdk/sources/declarative/requesters/error_handlers/default_http_response_filter.py +0 -1
- airbyte_cdk/sources/declarative/requesters/error_handlers/http_response_filter.py +0 -1
- airbyte_cdk/sources/declarative/requesters/http_job_repository.py +1 -2
- airbyte_cdk/sources/declarative/requesters/http_requester.py +0 -1
- airbyte_cdk/sources/declarative/requesters/paginators/default_paginator.py +0 -1
- airbyte_cdk/sources/declarative/requesters/paginators/no_pagination.py +0 -1
- airbyte_cdk/sources/declarative/requesters/paginators/paginator.py +0 -1
- airbyte_cdk/sources/declarative/requesters/paginators/strategies/cursor_pagination_strategy.py +0 -1
- airbyte_cdk/sources/declarative/requesters/paginators/strategies/offset_increment.py +0 -1
- airbyte_cdk/sources/declarative/requesters/paginators/strategies/page_increment.py +0 -1
- airbyte_cdk/sources/declarative/requesters/paginators/strategies/pagination_strategy.py +0 -1
- airbyte_cdk/sources/declarative/requesters/paginators/strategies/stop_condition.py +0 -1
- airbyte_cdk/sources/declarative/requesters/request_options/interpolated_request_options_provider.py +1 -2
- airbyte_cdk/sources/declarative/requesters/requester.py +0 -1
- airbyte_cdk/sources/declarative/retrievers/async_retriever.py +1 -2
- airbyte_cdk/sources/declarative/retrievers/simple_retriever.py +0 -1
- airbyte_cdk/sources/declarative/stream_slicers/declarative_partition_generator.py +1 -1
- airbyte_cdk/sources/declarative/transformations/add_fields.py +0 -1
- airbyte_cdk/sources/declarative/transformations/remove_fields.py +0 -1
- airbyte_cdk/sources/declarative/yaml_declarative_source.py +0 -1
- airbyte_cdk/sources/embedded/tools.py +0 -1
- airbyte_cdk/sources/file_based/config/abstract_file_based_spec.py +1 -2
- airbyte_cdk/sources/file_based/config/avro_format.py +1 -2
- airbyte_cdk/sources/file_based/config/csv_format.py +1 -2
- airbyte_cdk/sources/file_based/config/excel_format.py +1 -2
- airbyte_cdk/sources/file_based/config/file_based_stream_config.py +1 -2
- airbyte_cdk/sources/file_based/config/jsonl_format.py +1 -2
- airbyte_cdk/sources/file_based/config/parquet_format.py +1 -2
- airbyte_cdk/sources/file_based/config/unstructured_format.py +1 -2
- airbyte_cdk/sources/file_based/file_based_source.py +1 -2
- airbyte_cdk/sources/file_based/file_based_stream_reader.py +1 -2
- airbyte_cdk/sources/file_based/file_types/avro_parser.py +0 -1
- airbyte_cdk/sources/file_based/file_types/csv_parser.py +1 -2
- airbyte_cdk/sources/file_based/file_types/excel_parser.py +5 -5
- airbyte_cdk/sources/file_based/file_types/jsonl_parser.py +1 -2
- airbyte_cdk/sources/file_based/file_types/parquet_parser.py +1 -2
- airbyte_cdk/sources/file_based/file_types/unstructured_parser.py +8 -9
- airbyte_cdk/sources/file_based/stream/abstract_file_based_stream.py +1 -2
- airbyte_cdk/sources/file_based/stream/concurrent/adapters.py +1 -2
- airbyte_cdk/sources/http_logger.py +0 -1
- airbyte_cdk/sources/streams/call_rate.py +2 -1
- airbyte_cdk/sources/streams/concurrent/abstract_stream.py +1 -2
- airbyte_cdk/sources/streams/concurrent/adapters.py +2 -2
- airbyte_cdk/sources/streams/concurrent/availability_strategy.py +1 -2
- airbyte_cdk/sources/streams/concurrent/state_converters/datetime_stream_state_converter.py +1 -1
- airbyte_cdk/sources/streams/core.py +1 -2
- airbyte_cdk/sources/streams/http/error_handlers/default_error_mapping.py +1 -2
- airbyte_cdk/sources/streams/http/error_handlers/http_status_error_handler.py +0 -1
- airbyte_cdk/sources/streams/http/error_handlers/json_error_message_parser.py +0 -1
- airbyte_cdk/sources/streams/http/error_handlers/response_models.py +1 -2
- airbyte_cdk/sources/streams/http/http.py +2 -3
- airbyte_cdk/sources/streams/http/http_client.py +2 -49
- airbyte_cdk/sources/streams/http/requests_native_auth/abstract_oauth.py +1 -2
- airbyte_cdk/sources/streams/http/requests_native_auth/oauth.py +0 -1
- airbyte_cdk/sources/utils/schema_helpers.py +2 -3
- airbyte_cdk/sql/secrets.py +1 -2
- airbyte_cdk/sql/shared/sql_processor.py +6 -8
- airbyte_cdk/test/entrypoint_wrapper.py +3 -4
- airbyte_cdk/test/mock_http/mocker.py +0 -1
- airbyte_cdk/utils/schema_inferrer.py +1 -2
- airbyte_cdk/utils/slice_hasher.py +1 -1
- airbyte_cdk/utils/traced_exception.py +1 -2
- {airbyte_cdk-6.6.9.dist-info → airbyte_cdk-6.7.0.dev4.dist-info}/METADATA +2 -9
- {airbyte_cdk-6.6.9.dist-info → airbyte_cdk-6.7.0.dev4.dist-info}/RECORD +107 -107
- {airbyte_cdk-6.6.9.dist-info → airbyte_cdk-6.7.0.dev4.dist-info}/LICENSE.txt +0 -0
- {airbyte_cdk-6.6.9.dist-info → airbyte_cdk-6.7.0.dev4.dist-info}/WHEEL +0 -0
- {airbyte_cdk-6.6.9.dist-info → airbyte_cdk-6.7.0.dev4.dist-info}/entry_points.txt +0 -0
@@ -5,10 +5,9 @@ from enum import Enum
|
|
5
5
|
from typing import Optional, Union
|
6
6
|
|
7
7
|
import requests
|
8
|
-
from requests import HTTPError
|
9
|
-
|
10
8
|
from airbyte_cdk.models import FailureType
|
11
9
|
from airbyte_cdk.utils.airbyte_secrets_utils import filter_secrets
|
10
|
+
from requests import HTTPError
|
12
11
|
|
13
12
|
|
14
13
|
class ResponseAction(Enum):
|
@@ -9,9 +9,6 @@ from typing import Any, Callable, Iterable, List, Mapping, MutableMapping, Optio
|
|
9
9
|
from urllib.parse import urljoin
|
10
10
|
|
11
11
|
import requests
|
12
|
-
from deprecated import deprecated
|
13
|
-
from requests.auth import AuthBase
|
14
|
-
|
15
12
|
from airbyte_cdk.models import AirbyteMessage, FailureType, SyncMode
|
16
13
|
from airbyte_cdk.models import Type as MessageType
|
17
14
|
from airbyte_cdk.sources.message.repository import InMemoryMessageRepository
|
@@ -36,6 +33,8 @@ from airbyte_cdk.sources.streams.http.error_handlers.response_models import (
|
|
36
33
|
from airbyte_cdk.sources.streams.http.http_client import HttpClient
|
37
34
|
from airbyte_cdk.sources.types import Record, StreamSlice
|
38
35
|
from airbyte_cdk.sources.utils.types import JsonType
|
36
|
+
from deprecated import deprecated
|
37
|
+
from requests.auth import AuthBase
|
39
38
|
|
40
39
|
# list of all possible HTTP methods which can be used for sending of request bodies
|
41
40
|
BODY_REQUEST_METHODS = ("GET", "POST", "PUT", "PATCH")
|
@@ -11,8 +11,6 @@ from typing import Any, Callable, Dict, List, Mapping, Optional, Tuple, Union
|
|
11
11
|
import orjson
|
12
12
|
import requests
|
13
13
|
import requests_cache
|
14
|
-
from requests.auth import AuthBase
|
15
|
-
|
16
14
|
from airbyte_cdk.models import (
|
17
15
|
AirbyteMessageSerializer,
|
18
16
|
AirbyteStreamStatus,
|
@@ -45,13 +43,12 @@ from airbyte_cdk.sources.streams.http.rate_limiting import (
|
|
45
43
|
rate_limit_default_backoff_handler,
|
46
44
|
user_defined_backoff_handler,
|
47
45
|
)
|
48
|
-
from airbyte_cdk.sources.utils.types import JsonType
|
49
|
-
from airbyte_cdk.utils.airbyte_secrets_utils import filter_secrets
|
50
46
|
from airbyte_cdk.utils.constants import ENV_REQUEST_CACHE_PATH
|
51
47
|
from airbyte_cdk.utils.stream_status_utils import (
|
52
48
|
as_airbyte_message as stream_status_as_airbyte_message,
|
53
49
|
)
|
54
50
|
from airbyte_cdk.utils.traced_exception import AirbyteTracedException
|
51
|
+
from requests.auth import AuthBase
|
55
52
|
|
56
53
|
BODY_REQUEST_METHODS = ("GET", "POST", "PUT", "PATCH")
|
57
54
|
|
@@ -76,7 +73,6 @@ class MessageRepresentationAirbyteTracedErrors(AirbyteTracedException):
|
|
76
73
|
class HttpClient:
|
77
74
|
_DEFAULT_MAX_RETRY: int = 5
|
78
75
|
_DEFAULT_MAX_TIME: int = 60 * 10
|
79
|
-
_ACTIONS_TO_RETRY_ON = {ResponseAction.RETRY, ResponseAction.RATE_LIMITED}
|
80
76
|
|
81
77
|
def __init__(
|
82
78
|
self,
|
@@ -337,40 +333,6 @@ class HttpClient:
|
|
337
333
|
|
338
334
|
return response # type: ignore # will either return a valid response of type requests.Response or raise an exception
|
339
335
|
|
340
|
-
def _get_response_body(self, response: requests.Response) -> Optional[JsonType]:
|
341
|
-
"""
|
342
|
-
Extracts and returns the body of an HTTP response.
|
343
|
-
|
344
|
-
This method attempts to parse the response body as JSON. If the response
|
345
|
-
body is not valid JSON, it falls back to decoding the response content
|
346
|
-
as a UTF-8 string. If both attempts fail, it returns None.
|
347
|
-
|
348
|
-
Args:
|
349
|
-
response (requests.Response): The HTTP response object.
|
350
|
-
|
351
|
-
Returns:
|
352
|
-
Optional[JsonType]: The parsed JSON object as a string, the decoded
|
353
|
-
response content as a string, or None if both parsing attempts fail.
|
354
|
-
"""
|
355
|
-
try:
|
356
|
-
return str(response.json())
|
357
|
-
except requests.exceptions.JSONDecodeError:
|
358
|
-
try:
|
359
|
-
return response.content.decode("utf-8")
|
360
|
-
except Exception:
|
361
|
-
return "The Content of the Response couldn't be decoded."
|
362
|
-
|
363
|
-
def _evict_key(self, prepared_request: requests.PreparedRequest) -> None:
|
364
|
-
"""
|
365
|
-
Addresses high memory consumption when enabling concurrency in https://github.com/airbytehq/oncall/issues/6821.
|
366
|
-
|
367
|
-
The `_request_attempt_count` attribute keeps growing as multiple requests are made using the same `http_client`.
|
368
|
-
To mitigate this issue, we evict keys for completed requests once we confirm that no further retries are needed.
|
369
|
-
This helps manage memory usage more efficiently while maintaining the necessary logic for retry attempts.
|
370
|
-
"""
|
371
|
-
if prepared_request in self._request_attempt_count:
|
372
|
-
del self._request_attempt_count[prepared_request]
|
373
|
-
|
374
336
|
def _handle_error_resolution(
|
375
337
|
self,
|
376
338
|
response: Optional[requests.Response],
|
@@ -379,9 +341,6 @@ class HttpClient:
|
|
379
341
|
error_resolution: ErrorResolution,
|
380
342
|
exit_on_rate_limit: Optional[bool] = False,
|
381
343
|
) -> None:
|
382
|
-
if error_resolution.response_action not in self._ACTIONS_TO_RETRY_ON:
|
383
|
-
self._evict_key(request)
|
384
|
-
|
385
344
|
# Emit stream status RUNNING with the reason RATE_LIMITED to log that the rate limit has been reached
|
386
345
|
if error_resolution.response_action == ResponseAction.RATE_LIMITED:
|
387
346
|
# TODO: Update to handle with message repository when concurrent message repository is ready
|
@@ -402,18 +361,12 @@ class HttpClient:
|
|
402
361
|
|
403
362
|
if error_resolution.response_action == ResponseAction.FAIL:
|
404
363
|
if response is not None:
|
405
|
-
|
406
|
-
f"Request (body): '{str(request.body)}'. Response (body): '{self._get_response_body(response)}'. Response (headers): '{response.headers}'."
|
407
|
-
)
|
408
|
-
error_message = f"'{request.method}' request to '{request.url}' failed with status code '{response.status_code}' and error message: '{self._error_message_parser.parse_response_error_message(response)}'. {filtered_response_message}"
|
364
|
+
error_message = f"'{request.method}' request to '{request.url}' failed with status code '{response.status_code}' and error message '{self._error_message_parser.parse_response_error_message(response)}'"
|
409
365
|
else:
|
410
366
|
error_message = (
|
411
367
|
f"'{request.method}' request to '{request.url}' failed with exception: '{exc}'"
|
412
368
|
)
|
413
369
|
|
414
|
-
# ensure the exception message is emitted before raised
|
415
|
-
self._logger.error(error_message)
|
416
|
-
|
417
370
|
raise MessageRepresentationAirbyteTracedErrors(
|
418
371
|
internal_message=error_message,
|
419
372
|
message=error_resolution.error_message or error_message,
|
@@ -10,13 +10,12 @@ from typing import Any, List, Mapping, MutableMapping, Optional, Tuple, Union
|
|
10
10
|
import backoff
|
11
11
|
import pendulum
|
12
12
|
import requests
|
13
|
-
from requests.auth import AuthBase
|
14
|
-
|
15
13
|
from airbyte_cdk.models import FailureType, Level
|
16
14
|
from airbyte_cdk.sources.http_logger import format_http_message
|
17
15
|
from airbyte_cdk.sources.message import MessageRepository, NoopMessageRepository
|
18
16
|
from airbyte_cdk.utils import AirbyteTracedException
|
19
17
|
from airbyte_cdk.utils.airbyte_secrets_utils import add_to_secrets
|
18
|
+
from requests.auth import AuthBase
|
20
19
|
|
21
20
|
from ..exceptions import DefaultBackoffException
|
22
21
|
|
@@ -10,13 +10,12 @@ import pkgutil
|
|
10
10
|
from typing import Any, ClassVar, Dict, List, Mapping, MutableMapping, Optional, Tuple
|
11
11
|
|
12
12
|
import jsonref
|
13
|
+
from airbyte_cdk.models import ConnectorSpecification, FailureType
|
14
|
+
from airbyte_cdk.utils.traced_exception import AirbyteTracedException
|
13
15
|
from jsonschema import RefResolver, validate
|
14
16
|
from jsonschema.exceptions import ValidationError
|
15
17
|
from pydantic.v1 import BaseModel, Field
|
16
18
|
|
17
|
-
from airbyte_cdk.models import ConnectorSpecification, FailureType
|
18
|
-
from airbyte_cdk.utils.traced_exception import AirbyteTracedException
|
19
|
-
|
20
19
|
|
21
20
|
class JsonFileLoader:
|
22
21
|
"""
|
airbyte_cdk/sql/secrets.py
CHANGED
@@ -6,9 +6,8 @@ from __future__ import annotations
|
|
6
6
|
import json
|
7
7
|
from typing import TYPE_CHECKING, Any
|
8
8
|
|
9
|
-
from pydantic_core import CoreSchema, core_schema
|
10
|
-
|
11
9
|
from airbyte_cdk.sql import exceptions as exc
|
10
|
+
from pydantic_core import CoreSchema, core_schema
|
12
11
|
|
13
12
|
if TYPE_CHECKING:
|
14
13
|
from pydantic import GetCoreSchemaHandler, GetJsonSchemaHandler, ValidationInfo
|
@@ -13,12 +13,6 @@ from typing import TYPE_CHECKING, Any, final
|
|
13
13
|
import pandas as pd
|
14
14
|
import sqlalchemy
|
15
15
|
import ulid
|
16
|
-
from airbyte_protocol_dataclasses.models import AirbyteStateMessage
|
17
|
-
from pandas import Index
|
18
|
-
from pydantic import BaseModel, Field
|
19
|
-
from sqlalchemy import Column, Table, and_, create_engine, insert, null, select, text, update
|
20
|
-
from sqlalchemy.exc import ProgrammingError, SQLAlchemyError
|
21
|
-
|
22
16
|
from airbyte_cdk.sql import exceptions as exc
|
23
17
|
from airbyte_cdk.sql._util.hashing import one_way_hash
|
24
18
|
from airbyte_cdk.sql._util.name_normalizers import LowerCaseNormalizer
|
@@ -30,10 +24,16 @@ from airbyte_cdk.sql.constants import (
|
|
30
24
|
)
|
31
25
|
from airbyte_cdk.sql.secrets import SecretString
|
32
26
|
from airbyte_cdk.sql.types import SQLTypeConverter
|
27
|
+
from airbyte_protocol_dataclasses.models import AirbyteStateMessage
|
28
|
+
from pandas import Index
|
29
|
+
from pydantic import BaseModel, Field
|
30
|
+
from sqlalchemy import Column, Table, and_, create_engine, insert, null, select, text, update
|
31
|
+
from sqlalchemy.exc import ProgrammingError, SQLAlchemyError
|
33
32
|
|
34
33
|
if TYPE_CHECKING:
|
35
34
|
from collections.abc import Generator
|
36
35
|
|
36
|
+
from airbyte_cdk.sql.shared.catalog_providers import CatalogProvider
|
37
37
|
from sqlalchemy.engine import Connection, Engine
|
38
38
|
from sqlalchemy.engine.cursor import CursorResult
|
39
39
|
from sqlalchemy.engine.reflection import Inspector
|
@@ -41,8 +41,6 @@ if TYPE_CHECKING:
|
|
41
41
|
from sqlalchemy.sql.elements import TextClause
|
42
42
|
from sqlalchemy.sql.type_api import TypeEngine
|
43
43
|
|
44
|
-
from airbyte_cdk.sql.shared.catalog_providers import CatalogProvider
|
45
|
-
|
46
44
|
|
47
45
|
class SQLRuntimeError(Exception):
|
48
46
|
"""Raised when an SQL operation fails."""
|
@@ -23,10 +23,6 @@ from io import StringIO
|
|
23
23
|
from pathlib import Path
|
24
24
|
from typing import Any, List, Mapping, Optional, Union
|
25
25
|
|
26
|
-
from orjson import orjson
|
27
|
-
from pydantic import ValidationError as V2ValidationError
|
28
|
-
from serpyco_rs import SchemaValidationError
|
29
|
-
|
30
26
|
from airbyte_cdk.entrypoint import AirbyteEntrypoint
|
31
27
|
from airbyte_cdk.exception_handler import assemble_uncaught_exception
|
32
28
|
from airbyte_cdk.logger import AirbyteLogFormatter
|
@@ -44,6 +40,9 @@ from airbyte_cdk.models import (
|
|
44
40
|
Type,
|
45
41
|
)
|
46
42
|
from airbyte_cdk.sources import Source
|
43
|
+
from orjson import orjson
|
44
|
+
from pydantic import ValidationError as V2ValidationError
|
45
|
+
from serpyco_rs import SchemaValidationError
|
47
46
|
|
48
47
|
|
49
48
|
class EntrypointOutput:
|
@@ -5,12 +5,11 @@
|
|
5
5
|
from collections import defaultdict
|
6
6
|
from typing import Any, Dict, List, Mapping, Optional
|
7
7
|
|
8
|
+
from airbyte_cdk.models import AirbyteRecordMessage
|
8
9
|
from genson import SchemaBuilder, SchemaNode
|
9
10
|
from genson.schema.strategies.object import Object
|
10
11
|
from genson.schema.strategies.scalar import Number
|
11
12
|
|
12
|
-
from airbyte_cdk.models import AirbyteRecordMessage
|
13
|
-
|
14
13
|
# schema keywords
|
15
14
|
_TYPE = "type"
|
16
15
|
_NULL_TYPE = "null"
|
@@ -5,8 +5,6 @@ import time
|
|
5
5
|
import traceback
|
6
6
|
from typing import Optional
|
7
7
|
|
8
|
-
from orjson import orjson
|
9
|
-
|
10
8
|
from airbyte_cdk.models import (
|
11
9
|
AirbyteConnectionStatus,
|
12
10
|
AirbyteErrorTraceMessage,
|
@@ -20,6 +18,7 @@ from airbyte_cdk.models import (
|
|
20
18
|
)
|
21
19
|
from airbyte_cdk.models import Type as MessageType
|
22
20
|
from airbyte_cdk.utils.airbyte_secrets_utils import filter_secrets
|
21
|
+
from orjson import orjson
|
23
22
|
|
24
23
|
|
25
24
|
class AirbyteTracedException(Exception):
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: airbyte-cdk
|
3
|
-
Version: 6.
|
3
|
+
Version: 6.7.0.dev4
|
4
4
|
Summary: A framework for writing Airbyte Connectors.
|
5
5
|
Home-page: https://airbyte.com
|
6
6
|
License: MIT
|
@@ -37,7 +37,7 @@ Requires-Dist: fastavro (>=1.8.0,<1.9.0) ; extra == "file-based"
|
|
37
37
|
Requires-Dist: genson (==1.3.0)
|
38
38
|
Requires-Dist: isodate (>=0.6.1,<0.7.0)
|
39
39
|
Requires-Dist: jsonref (>=0.2,<0.3)
|
40
|
-
Requires-Dist: jsonschema (>=
|
40
|
+
Requires-Dist: jsonschema (>=3.2.0,<3.3.0)
|
41
41
|
Requires-Dist: langchain (==0.1.16) ; extra == "vector-db-based"
|
42
42
|
Requires-Dist: langchain_core (==0.1.42)
|
43
43
|
Requires-Dist: markdown ; extra == "file-based"
|
@@ -170,13 +170,6 @@ Installing all extras is required to run the full suite of unit tests.
|
|
170
170
|
|
171
171
|
To see all available scripts, run `poetry run poe`.
|
172
172
|
|
173
|
-
#### Formatting the code
|
174
|
-
|
175
|
-
- Iterate on the CDK code locally
|
176
|
-
- Run `poetry run ruff format` to format your changes.
|
177
|
-
|
178
|
-
To see all available `ruff` options, run `poetry run ruff`.
|
179
|
-
|
180
173
|
##### Autogenerated files
|
181
174
|
|
182
175
|
Low-code CDK models are generated from `sources/declarative/declarative_component_schema.yaml`. If
|