Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Fixes doc urls. #719

Merged
merged 3 commits into from
Mar 25, 2020
Merged
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions google/datalab/bigquery/_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def from_data(source):
a definition of the schema as a list of dictionaries with 'name' and 'type' entries
and possibly 'mode' and 'description' entries. Only used if no data argument was provided.
'mode' can be 'NULLABLE', 'REQUIRED' or 'REPEATED'. For the allowed types, see:
https://cloud.google.com/bigquery/preparing-data-for-bigquery#datatypes
https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types

Note that there is potential ambiguity when passing a list of lists or a list of
dicts between whether that should be treated as a list of records or a single record
Expand Down Expand Up @@ -263,7 +263,7 @@ def __init__(self, definition=None):
definition: a definition of the schema as a list of dictionaries with 'name' and 'type'
entries and possibly 'mode' and 'description' entries. Only used if no data argument was
provided. 'mode' can be 'NULLABLE', 'REQUIRED' or 'REPEATED'. For the allowed types, see:
https://cloud.google.com/bigquery/preparing-data-for-bigquery#datatypes
https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types
"""
super(Schema, self).__init__()
self._map = {}
Expand Down