Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: remove out-of-date BigQuery ML protocol buffers #1178

Merged
merged 65 commits into from
Mar 29, 2022
Merged
Changes from 1 commit
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
9cd7554
deps!: BigQuery Storage and pyarrow are required dependencies (#776)
plamut Jul 27, 2021
9319eb1
chore: merge recent changes from master (#823)
plamut Jul 28, 2021
e26d879
chore: sync v3 with master (#851)
plamut Aug 5, 2021
66014c3
chore: merge changes from master (#872)
tswast Aug 12, 2021
dcd78c7
fix!: use nullable `Int64` and `boolean` dtypes in `to_dataframe` (#786)
tswast Aug 16, 2021
60e73fe
chore: sync v3 with master branch (#880)
tswast Aug 16, 2021
2689df4
feat: Destination tables are no-longer removed by create_job (#891)
Aug 23, 2021
eed311e
chore: Simplify create_job slightly (#893)
Aug 23, 2021
2cb1c21
chore: sync v3 branch with main (#947)
plamut Sep 9, 2021
a7842b6
chore!: remove google.cloud.bigquery_v2 code (#855)
plamut Sep 27, 2021
b0cbfef
chore: sync v3 branch with main (#996)
plamut Sep 30, 2021
71dde11
feat: add a static copy of legacy proto-based types (#1000)
plamut Oct 6, 2021
deec8e7
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Oct 6, 2021
beaadc8
🦉 Updates from OwlBot
gcf-owl-bot[bot] Oct 6, 2021
750c808
chore: remove unnecessary replacement from owlbot
tswast Oct 6, 2021
15c4055
Merge remote-tracking branch 'upstream/sync-v3' into sync-v3
tswast Oct 6, 2021
6bfbb7d
🦉 Updates from OwlBot
gcf-owl-bot[bot] Oct 6, 2021
72255a6
Apply suggestions from code review
tswast Oct 6, 2021
8a3b1ad
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Oct 7, 2021
0d0aedb
Merge remote-tracking branch 'upstream/sync-v3' into sync-v3
tswast Oct 7, 2021
1661262
🦉 Updates from OwlBot
gcf-owl-bot[bot] Oct 7, 2021
2c90edc
chore: remove unused _PYARROW_BAD_VERSIONS
tswast Oct 7, 2021
aa3c7d2
Merge remote-tracking branch 'upstream/sync-v3' into sync-v3
tswast Oct 7, 2021
7852c5c
🦉 Updates from OwlBot
gcf-owl-bot[bot] Oct 7, 2021
ed9b6cf
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Oct 8, 2021
294990a
Merge remote-tracking branch 'upstream/sync-v3' into sync-v3
tswast Oct 8, 2021
d448d0e
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Oct 11, 2021
50753cc
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Oct 14, 2021
c67377a
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Oct 26, 2021
6706678
Merge pull request #1004 from googleapis/sync-v3
plamut Oct 28, 2021
40c92c3
chore: cleanup intersphinx links (#1035)
tswast Nov 1, 2021
23d1187
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Nov 4, 2021
61e3d57
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Nov 4, 2021
7162f98
Merge pull request #1049 from googleapis/sync-v3
tswast Nov 5, 2021
12c2272
Merge branch 'main' into sync-v3-with-main
plamut Nov 9, 2021
859a65d
Fix type hints and discovered bugs
plamut Nov 9, 2021
42d3db6
Merge pull request #1055 from plamut/sync-v3-with-main
tswast Nov 10, 2021
3d1af95
feat!: Use pandas custom data types for BigQuery DATE and TIME column…
Nov 10, 2021
070729f
process: mark the package as type-checked (#1058)
plamut Nov 11, 2021
3cae066
feat: default to DATETIME type when loading timezone-naive datetimes …
plamut Nov 16, 2021
86fd253
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Nov 16, 2021
dad555d
chore: release 3.0.0b1 (pre-release)
tswast Nov 16, 2021
9fd8eb9
Merge pull request #1065 from googleapis/sync-v3
tswast Nov 16, 2021
3b3ebff
feat: add `api_method` parameter to `Client.query` to select `INSERT`…
tswast Dec 2, 2021
7e3721e
fix: improve type annotations for mypy validation (#1081)
plamut Dec 14, 2021
2b76944
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Dec 15, 2021
950b24e
chore: add type annotations for mypy
tswast Dec 15, 2021
e888c71
chore: revert test for when pyarrow is not installed
tswast Dec 15, 2021
011f160
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Dec 16, 2021
08a9bcc
Merge pull request #1088 from googleapis/sync-v3
tswast Dec 16, 2021
aea8d55
chore: sync main into v3 branch
tswast Jan 13, 2022
dd40c24
test: fix pandas tests with new bqstorage client (#1113)
tswast Jan 19, 2022
727a18d
Merge branch 'v3' into sync-v3
tswast Jan 19, 2022
c58ba76
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Jan 19, 2022
b67b255
Merge pull request #1109 from googleapis/sync-v3
tswast Jan 20, 2022
5f50242
feat: use `StandardSqlField` class for `Model.feature_columns` and `M…
tswast Jan 28, 2022
fec1ae6
Merge branch 'upstream/main' into sync-v3
tswast Mar 25, 2022
b4f4847
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Mar 25, 2022
dedb2ea
docs: add type annotations to job samples
tswast Mar 25, 2022
0279fa9
chore: blacken with black 22.3.0
tswast Mar 29, 2022
35d2d70
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Mar 29, 2022
9d256d5
Merge pull request #1175 from googleapis/sync-v3
tswast Mar 29, 2022
af0ecb0
docs: Add migration guide from version 2.x to 3.x (#1027)
plamut Mar 29, 2022
f69bae7
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Mar 29, 2022
8bd4d39
Merge branch 'v3' of https://github.com/googleapis/python-bigquery in…
gcf-owl-bot[bot] Mar 29, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: add type annotations to job samples
tswast committed Mar 25, 2022
commit dedb2eae74cc8c8ef8f84586af636b2c01f0f6f1
2 changes: 1 addition & 1 deletion samples/snippets/manage_job_cancel.py
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@

def cancel_job(
client: bigquery.Client, location: str = "us", job_id: str = "abcd-efgh-ijkl-mnop",
):
) -> None:
job = client.cancel_job(job_id, location=location)
print(f"{job.location}:{job.job_id} cancelled")

2 changes: 1 addition & 1 deletion samples/snippets/manage_job_get.py
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@

def get_job(
client: bigquery.Client, location: str = "us", job_id: str = "abcd-efgh-ijkl-mnop",
):
) -> None:
job = client.get_job(job_id, location=location)

# All job classes have "location" and "job_id" string properties.
2 changes: 1 addition & 1 deletion samples/snippets/manage_job_test.py
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
import manage_job_get


def test_manage_job(capsys: pytest.CaptureFixture):
def test_manage_job(capsys: pytest.CaptureFixture[str]) -> None:
client = bigquery.Client()
sql = """
SELECT corpus
9 changes: 1 addition & 8 deletions samples/snippets/user_credentials.py
Original file line number Diff line number Diff line change
@@ -73,13 +73,6 @@ def main(project: str) -> None:
parser = argparse.ArgumentParser(
description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter
)
parser.add_argument(
"--launch-browser",
help="Use a local server flow to authenticate. ",
action="store_true",
)
parser.add_argument("project", help="Project to use for BigQuery billing.")

args = parser.parse_args()

main(args.project, launch_browser=args.launch_browser)
main(args.project)