File tree 1 file changed +12
-21
lines changed
1 file changed +12
-21
lines changed Original file line number Diff line number Diff line change 8
8
import re
9
9
import warnings
10
10
11
+ from pandas_gbq .contexts import Context # noqa - backward compatible export
11
12
from pandas_gbq .contexts import context
12
- from pandas_gbq .exceptions import (
13
+ from pandas_gbq .exceptions import ( # noqa - backward compatible export
13
14
DatasetCreationError ,
14
15
GenericGBQException ,
15
16
InvalidColumnOrder ,
16
17
InvalidIndexColumn ,
17
- InvalidPageToken ,
18
- InvalidSchema ,
19
18
NotFoundException ,
20
- QueryTimeout ,
21
19
TableCreationError ,
22
20
)
21
+ from pandas_gbq .exceptions import InvalidPageToken # noqa - backward compatible export
22
+ from pandas_gbq .exceptions import InvalidSchema # noqa - backward compatible export
23
+ from pandas_gbq .exceptions import QueryTimeout # noqa - backward compatible export
23
24
from pandas_gbq .features import FEATURES
24
- from pandas_gbq .gbq_connector import GbqConnector , create_user_agent
25
+ from pandas_gbq .gbq_connector import ( # noqa - backward compatible export
26
+ GbqConnector ,
27
+ _bqschema_to_nullsafe_dtypes ,
28
+ _finalize_dtypes ,
29
+ create_user_agent ,
30
+ )
31
+ from pandas_gbq .gbq_connector import _get_client # noqa - backward compatible export
25
32
import pandas_gbq .schema
26
33
import pandas_gbq .schema .pandas_to_bigquery
27
34
28
35
logger = logging .getLogger (__name__ )
29
36
30
37
31
- __all__ = [
32
- # The following items were originally defined in this module
33
- # Export them here for backward compatibility.
34
- "DatasetCreationError" ,
35
- "InvalidColumnOrder" ,
36
- "InvalidIndexColumn" ,
37
- "InvalidPageToken" ,
38
- "InvalidSchema" ,
39
- "NotFoundException" ,
40
- "TableCreationError" ,
41
- "GenericGBQException" ,
42
- "QueryTimeout" ,
43
- "create_user_agent" ,
44
- ]
45
-
46
-
47
38
def _test_google_api_imports ():
48
39
try :
49
40
import packaging # noqa
You can’t perform that action at this time.
0 commit comments