We are attempting to create a table and define the schema on Google BigQuery from a Python app on Google AppEngine.
This page from Google's documentation demonstrates commands to set the schema that look like this:
# Set the table schema
table.schema = (
bigquery.SchemaField('Name', 'STRING'),
bigquery.SchemaField('Age', 'INTEGER'),
bigquery.SchemaField('Weight', 'FLOAT'),
)
Per this Github example, these commands require this library:
from google.cloud import bigquery
However, when run this import command on AppEngine, we receive the error "module cloud not found."
Is this library not available on App Engine? If not, how do we create a table and define the schema on-demand from App Engine in Python?