Skip to content

Commit 62db662

Browse files
lukesneeringerlandrito
authored andcommitted
Vision semi-GAPIC (googleapis#3373)
1 parent d661ade commit 62db662

File tree

112 files changed

+5649
-1669
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+5649
-1669
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ pip-log.txt
2828
.nox
2929
.tox
3030
.cache
31+
htmlcov
3132

3233
# Translations
3334
*.mo

bigquery/google/cloud/bigquery/client.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def __init__(self, project=None, credentials=None, _http=None):
8686
def list_projects(self, max_results=None, page_token=None):
8787
"""List projects for the project associated with this client.
8888
89-
See:
89+
See
9090
https://cloud.google.com/bigquery/docs/reference/rest/v2/projects/list
9191
9292
:type max_results: int
@@ -111,7 +111,7 @@ def list_datasets(self, include_all=False, max_results=None,
111111
page_token=None):
112112
"""List datasets for the project associated with this client.
113113
114-
See:
114+
See
115115
https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/list
116116
117117
:type include_all: bool
@@ -183,7 +183,7 @@ def list_jobs(self, max_results=None, page_token=None, all_users=None,
183183
state_filter=None):
184184
"""List jobs for the project associated with this client.
185185
186-
See:
186+
See
187187
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/list
188188
189189
:type max_results: int
@@ -227,7 +227,7 @@ def list_jobs(self, max_results=None, page_token=None, all_users=None,
227227
def load_table_from_storage(self, job_name, destination, *source_uris):
228228
"""Construct a job for loading data into a table from CloudStorage.
229229
230-
See:
230+
See
231231
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.load
232232
233233
:type job_name: str
@@ -249,7 +249,7 @@ def load_table_from_storage(self, job_name, destination, *source_uris):
249249
def copy_table(self, job_name, destination, *sources):
250250
"""Construct a job for copying one or more tables into another table.
251251
252-
See:
252+
See
253253
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.copy
254254
255255
:type job_name: str
@@ -269,7 +269,7 @@ def copy_table(self, job_name, destination, *sources):
269269
def extract_table_to_storage(self, job_name, source, *destination_uris):
270270
"""Construct a job for extracting a table into Cloud Storage files.
271271
272-
See:
272+
See
273273
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.extract
274274
275275
:type job_name: str
@@ -293,7 +293,7 @@ def run_async_query(self, job_name, query,
293293
udf_resources=(), query_parameters=()):
294294
"""Construct a job for running a SQL query asynchronously.
295295
296-
See:
296+
See
297297
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query
298298
299299
:type job_name: str

bigquery/google/cloud/bigquery/dataset.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def __repr__(self):
8989
class Dataset(object):
9090
"""Datasets are containers for tables.
9191
92-
See:
92+
See
9393
https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets
9494
9595
:type name: str
@@ -417,7 +417,7 @@ def _build_resource(self):
417417
def create(self, client=None):
418418
"""API call: create the dataset via a PUT request.
419419
420-
See:
420+
See
421421
https://cloud.google.com/bigquery/docs/reference/rest/v2/tables/insert
422422
423423
:type client: :class:`~google.cloud.bigquery.client.Client` or
@@ -530,7 +530,7 @@ def update(self, client=None):
530530
def delete(self, client=None):
531531
"""API call: delete the dataset via a DELETE request.
532532
533-
See:
533+
See
534534
https://cloud.google.com/bigquery/docs/reference/rest/v2/tables/delete
535535
536536
:type client: :class:`~google.cloud.bigquery.client.Client` or
@@ -544,7 +544,7 @@ def delete(self, client=None):
544544
def list_tables(self, max_results=None, page_token=None):
545545
"""List tables for the project associated with this client.
546546
547-
See:
547+
See
548548
https://cloud.google.com/bigquery/docs/reference/rest/v2/tables/list
549549
550550
:type max_results: int

bigquery/google/cloud/bigquery/job.py

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def _get_resource_config(cls, resource):
301301
def begin(self, client=None):
302302
"""API call: begin the job via a POST request
303303
304-
See:
304+
See
305305
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/insert
306306
307307
:type client: :class:`~google.cloud.bigquery.client.Client` or
@@ -497,57 +497,57 @@ def output_rows(self):
497497
return int(statistics['load']['outputRows'])
498498

499499
allow_jagged_rows = _TypedProperty('allow_jagged_rows', bool)
500-
"""See:
500+
"""See
501501
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.load.allowJaggedRows
502502
"""
503503

504504
allow_quoted_newlines = _TypedProperty('allow_quoted_newlines', bool)
505-
"""See:
505+
"""See
506506
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.load.allowQuotedNewlines
507507
"""
508508

509509
create_disposition = CreateDisposition('create_disposition')
510-
"""See:
510+
"""See
511511
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.load.createDisposition
512512
"""
513513

514514
encoding = Encoding('encoding')
515-
"""See:
515+
"""See
516516
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.load.encoding
517517
"""
518518

519519
field_delimiter = _TypedProperty('field_delimiter', six.string_types)
520-
"""See:
520+
"""See
521521
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.load.fieldDelimiter
522522
"""
523523

524524
ignore_unknown_values = _TypedProperty('ignore_unknown_values', bool)
525-
"""See:
525+
"""See
526526
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.load.ignoreUnknownValues
527527
"""
528528

529529
max_bad_records = _TypedProperty('max_bad_records', six.integer_types)
530-
"""See:
530+
"""See
531531
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.load.maxBadRecords
532532
"""
533533

534534
quote_character = _TypedProperty('quote_character', six.string_types)
535-
"""See:
535+
"""See
536536
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.load.quote
537537
"""
538538

539539
skip_leading_rows = _TypedProperty('skip_leading_rows', six.integer_types)
540-
"""See:
540+
"""See
541541
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.load.skipLeadingRows
542542
"""
543543

544544
source_format = SourceFormat('source_format')
545-
"""See:
545+
"""See
546546
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.load.sourceFormat
547547
"""
548548

549549
write_disposition = WriteDisposition('write_disposition')
550-
"""See:
550+
"""See
551551
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.load.writeDisposition
552552
"""
553553

@@ -672,12 +672,12 @@ def __init__(self, name, destination, sources, client):
672672
self._configuration = _CopyConfiguration()
673673

674674
create_disposition = CreateDisposition('create_disposition')
675-
"""See:
675+
"""See
676676
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.copy.createDisposition
677677
"""
678678

679679
write_disposition = WriteDisposition('write_disposition')
680-
"""See:
680+
"""See
681681
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.copy.writeDisposition
682682
"""
683683

@@ -795,22 +795,22 @@ def __init__(self, name, source, destination_uris, client):
795795
self._configuration = _ExtractConfiguration()
796796

797797
compression = Compression('compression')
798-
"""See:
798+
"""See
799799
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.extract.compression
800800
"""
801801

802802
destination_format = DestinationFormat('destination_format')
803-
"""See:
803+
"""See
804804
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.extract.destinationFormat
805805
"""
806806

807807
field_delimiter = _TypedProperty('field_delimiter', six.string_types)
808-
"""See:
808+
"""See
809809
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.extract.fieldDelimiter
810810
"""
811811

812812
print_header = _TypedProperty('print_header', bool)
813-
"""See:
813+
"""See
814814
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.extract.printHeader
815815
"""
816816

@@ -936,32 +936,32 @@ def __init__(self, name, query, client,
936936
self._configuration = _AsyncQueryConfiguration()
937937

938938
allow_large_results = _TypedProperty('allow_large_results', bool)
939-
"""See:
939+
"""See
940940
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query.allowLargeResults
941941
"""
942942

943943
create_disposition = CreateDisposition('create_disposition')
944-
"""See:
944+
"""See
945945
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query.createDisposition
946946
"""
947947

948948
default_dataset = _TypedProperty('default_dataset', Dataset)
949-
"""See:
949+
"""See
950950
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query.defaultDataset
951951
"""
952952

953953
destination = _TypedProperty('destination', Table)
954-
"""See:
954+
"""See
955955
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query.destinationTable
956956
"""
957957

958958
flatten_results = _TypedProperty('flatten_results', bool)
959-
"""See:
959+
"""See
960960
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query.flattenResults
961961
"""
962962

963963
priority = QueryPriority('priority')
964-
"""See:
964+
"""See
965965
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query.priority
966966
"""
967967

@@ -970,34 +970,34 @@ def __init__(self, name, query, client,
970970
udf_resources = UDFResourcesProperty()
971971

972972
use_query_cache = _TypedProperty('use_query_cache', bool)
973-
"""See:
973+
"""See
974974
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query.useQueryCache
975975
"""
976976

977977
use_legacy_sql = _TypedProperty('use_legacy_sql', bool)
978-
"""See:
978+
"""See
979979
https://cloud.google.com/bigquery/docs/\
980980
reference/v2/jobs#configuration.query.useLegacySql
981981
"""
982982

983983
dry_run = _TypedProperty('dry_run', bool)
984-
"""See:
984+
"""See
985985
https://cloud.google.com/bigquery/docs/\
986986
reference/rest/v2/jobs#configuration.dryRun
987987
"""
988988

989989
write_disposition = WriteDisposition('write_disposition')
990-
"""See:
990+
"""See
991991
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query.writeDisposition
992992
"""
993993

994994
maximum_billing_tier = _TypedProperty('maximum_billing_tier', int)
995-
"""See:
995+
"""See
996996
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query.maximumBillingTier
997997
"""
998998

999999
maximum_bytes_billed = _TypedProperty('maximum_bytes_billed', int)
1000-
"""See:
1000+
"""See
10011001
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query.maximumBytesBilled
10021002
"""
10031003

0 commit comments

Comments
 (0)