Skip to content

Commit f54eb7c

Browse files
committed
chore: fix orjson imports
1 parent 9b08030 commit f54eb7c

File tree

20 files changed

+20
-20
lines changed

20 files changed

+20
-20
lines changed

airbyte_cdk/cli/source_declarative_manifest/_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from pathlib import Path
2626
from typing import Any, cast
2727

28-
from orjson import orjson
28+
import orjson
2929

3030
from airbyte_cdk.entrypoint import AirbyteEntrypoint, launch
3131
from airbyte_cdk.models import (

airbyte_cdk/config_observation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from copy import copy
1111
from typing import Any, List, MutableMapping
1212

13-
from orjson import orjson
13+
import orjson
1414

1515
from airbyte_cdk.models import (
1616
AirbyteControlConnectorConfigMessage,

airbyte_cdk/connector_builder/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import sys
77
from typing import Any, List, Mapping, Optional, Tuple
88

9-
from orjson import orjson
9+
import orjson
1010

1111
from airbyte_cdk.connector import BaseConnector
1212
from airbyte_cdk.connector_builder.connector_builder_handler import (

airbyte_cdk/destinations/destination.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from abc import ABC, abstractmethod
1010
from typing import Any, Iterable, List, Mapping
1111

12-
from orjson import orjson
12+
import orjson
1313

1414
from airbyte_cdk.connector import Connector
1515
from airbyte_cdk.exception_handler import init_uncaught_exception_handler

airbyte_cdk/entrypoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
from typing import Any, DefaultDict, Iterable, List, Mapping, Optional
1616
from urllib.parse import urlparse
1717

18+
import orjson
1819
import requests
19-
from orjson import orjson
2020
from requests import PreparedRequest, Response, Session
2121

2222
from airbyte_cdk.connector import TConfig

airbyte_cdk/logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import logging.config
88
from typing import Any, Callable, Mapping, Optional, Tuple
99

10-
from orjson import orjson
10+
import orjson
1111

1212
from airbyte_cdk.models import (
1313
AirbyteLogMessage,

airbyte_cdk/sources/file_based/file_types/csv_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from typing import Any, Callable, Dict, Generator, Iterable, List, Mapping, Optional, Set, Tuple
1313
from uuid import uuid4
1414

15-
from orjson import orjson
15+
import orjson
1616

1717
from airbyte_cdk.models import FailureType
1818
from airbyte_cdk.sources.file_based.config.csv_format import (

airbyte_cdk/sources/file_based/file_types/excel_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
from pathlib import Path
88
from typing import Any, Dict, Iterable, Mapping, Optional, Tuple, Union
99

10+
import orjson
1011
import pandas as pd
1112
from numpy import datetime64, issubdtype
1213
from numpy import dtype as dtype_
13-
from orjson import orjson
1414
from pydantic.v1 import BaseModel
1515

1616
from airbyte_cdk.sources.file_based.config.file_based_stream_config import (

airbyte_cdk/sources/file_based/file_types/jsonl_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import logging
77
from typing import Any, Dict, Iterable, Mapping, Optional, Tuple, Union
88

9-
from orjson import orjson
9+
import orjson
1010

1111
from airbyte_cdk.sources.file_based.config.file_based_stream_config import FileBasedStreamConfig
1212
from airbyte_cdk.sources.file_based.exceptions import FileBasedSourceError, RecordParseError

airbyte_cdk/test/entrypoint_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from pathlib import Path
2424
from typing import Any, List, Mapping, Optional, Union
2525

26-
from orjson import orjson
26+
import orjson
2727
from pydantic import ValidationError as V2ValidationError
2828
from serpyco_rs import SchemaValidationError
2929

0 commit comments

Comments
 (0)