Skip to content

Commit d77289a

Browse files
authored
Fix the broken import and bump the version (#35)
Fix the broken import
1 parent 2c79e09 commit d77289a

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@
1414
// "forwardPorts": [],
1515

1616
// Use 'postCreateCommand' to run commands after the container is created.
17-
"postCreateCommand": "bash .devcontainer/postCreate.sh"
17+
"postCreateCommand": "bash .devcontainer/postCreate.sh",
18+
19+
"containerEnv": {
20+
"CLOUD2SQL_ANALYTICS_OPT_OUT": "true"
21+
}
1822

1923
// Configure tool-specific properties.
2024
// "customizations": {},

.devcontainer/postCreate.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ pip install -r requirements-test.txt
33
pip install -r requirements.txt
44
pip install -r requirements-parquet.txt
55
pip install -e .
6-
mypy --install-types --non-interactive cloud2sql tests
6+
mypy --install-types --non-interactive cloud2sql tests
7+
8+
# building
9+
pip install tox wheel flake8 build

cloud2sql/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
__author__ = "Some Engineering Inc."
1212
__license__ = "Apache 2.0"
1313
__copyright__ = "Copyright © 2022 Some Engineering Inc."
14-
__version__ = "0.7.1"
14+
__version__ = "0.7.2"

cloud2sql/arrow/__init__.py

Whitespace-only changes.

cloud2sql/collect_plugins.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@
3030

3131

3232
from cloud2sql.analytics import AnalyticsEventSender
33+
from cloud2sql.arrow.config import ArrowOutputConfig
3334
from cloud2sql.show_progress import CollectInfo
3435
from cloud2sql.sql import SqlUpdater, sql_updater
3536

3637
try:
3738
from cloud2sql.arrow.model import ArrowModel
3839
from cloud2sql.arrow.writer import ArrowWriter
39-
from cloud2sql.arrow.config import ArrowOutputConfig, FileDestination, CloudBucketDestination, S3Bucket, GCSBucket
40+
from cloud2sql.arrow.config import FileDestination, CloudBucketDestination, S3Bucket, GCSBucket
4041
except ImportError:
4142
pass
4243

0 commit comments

Comments
 (0)