You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
The schema_from_json method is useful for loading a BigQuery schema file into the Python objects expected by our client library. There are several opportunities for Python code samples in the Using a BigQuery JSON schema file section of the docs describing that format:
You can write an existing table schema to a local file by entering the following command [Python code] (schema_to_json sample) -- bigquery_schema_file_from_table
The following command [Python code] loads data into a table using the schema definition in a JSON file -- bigquery_load_with_schema_file
The following command [Python code] creates an empty table in an existing dataset using the schema definition in a JSON file -- bigquery_create_table_with_schema_file
With the merging of #1436 and #1439 I think this is fixed, but wanted to validate that the missing return type for schema_from_json is also fixed before closing. cc: @tswast
Activity
tswast commentedon Nov 17, 2021
In addition, I think
schema_from_jsonis missing a return type based on what I'm seeing in the docs.tswast commentedon Nov 17, 2021
@loferris Potential task for once you've finished the code samples at #778
meredithslota commentedon Jun 13, 2023
With the merging of #1436 and #1439 I think this is fixed, but wanted to validate that the missing return type for
schema_from_jsonis also fixed before closing. cc: @tswasttswast commentedon Jun 13, 2023
@leahecole fixed the missing return type in https://github.com/googleapis/python-bigquery/pull/1582/files
Makes sense to me to close.