Module Import alias ImportFrom alias Import alias Import alias ImportFrom alias Import alias Import alias Import alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias FunctionDef arguments args defaults body TryExcept body Import alias handlers ExceptHandler type NameLoad body Raise Call NameLoad Str If AttributeLoad NameLoad attr body Assign NameStore Str orelse Assign NameStore Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr If CompareLt Call NameLoad NameLoad Call NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body TryExcept body Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Call AttributeLoad Str attr Call NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ClassDef bases NameLoad NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad NameLoad body Expr Str decorator_list ClassDef bases NameLoad NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Call NameLoad Expr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr orelse Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias ImportFrom alias alias Assign NameStore Call NameLoad keyword Str keyword Str keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr If BoolOpOr CompareIs NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr ListLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore NameLoad TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad body Raise Call NameLoad Str ImportFrom alias TryExcept body If Call NameLoad AttributeLoad NameLoad attr body With Call NameLoad AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Str If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Str If NameLoad body Return Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr orelse Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad NameLoad NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad BinOpSub Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Str Num body Assign NameStore Call AttributeLoad NameLoad attr If CompareGt NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Str For NameStore ListLoad Str Str Str Str Str Str Str Str body If CompareLt Call NameLoad NameLoad Num body Return BinOpMod NameLoad TupleLoad NameLoad NameLoad NameLoad AugAssignDiv NameStore Num Return BinOpMod NameLoad TupleLoad NameLoad Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Import alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Str Str keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad Raise Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse Raise Call NameLoad BinOpAdd NameLoad Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body ImportFrom alias ImportFrom alias Expr Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Dict Str Dict Str NameLoad Expr Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad attr Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type TupleLoad NameLoad NameLoad body If AttributeLoad NameLoad attr body Raise Call NameLoad Str orelse Raise Call NameLoad Str ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Str While UnaryOpNot Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Str TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body If SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Num Assign NameStore SubscriptLoad NameLoad Index Str While BoolOpAnd CompareIn Str NameLoad CompareLt NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call NameLoad NameLoad Call NameLoad BinOpDiv BinOpMult Num NameLoad NameLoad If CompareEq NameLoad NameLoad body Break Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If BoolOpAnd UnaryOpNot NameLoad CompareLt NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad orelse If CompareIn NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad If CompareLt NameLoad NameLoad body Raise Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body ImportFrom alias Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore ListLoad Assign NameStore Call NameLoad NameLoad If AttributeLoad NameLoad attr body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr body Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword Str Assign SubscriptStore NameLoad Index Str BinOpAdd NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AugAssignSub NameStore Num If BoolOpOr CompareEq BinOpMod Call NameLoad NameLoad NameLoad Num CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BinOpDiv BinOpMult BinOpSub NameLoad NameLoad Num NameLoad Assign NameStore Dict Str NameLoad TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Num Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body ImportFrom alias TryExcept body Return CompareEq SubscriptLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad attr Index Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Num If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str Str Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad keyword Call NameLoad NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str Str NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad NameLoad Return Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpOr CompareIs NameLoad NameLoad CompareEq NameLoad Str body Return NameLoad If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Return Call NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Return CompareEq NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad While CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call NameLoad NameLoad keyword NameLoad orelse Assign NameStore Call NameLoad NameLoad ListLoad If CompareIsNot NameLoad NameLoad body If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad If CompareIsNot NameLoad NameLoad body If CompareEq Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse Raise Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad Str NameLoad body Expr Str If CompareNotIn NameLoad TupleLoad Str Str Str body Raise Call NameLoad Call AttributeLoad Str attr NameLoad If CompareNotIn Str NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad If Call AttributeLoad NameLoad attr NameLoad body If CompareEq NameLoad Str body Raise Call NameLoad Str orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Raise Call NameLoad Str orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Call AttributeLoad NameLoad attr Str NameLoad keyword Num Return Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return Dict Str NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body ImportFrom alias Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad attr Return NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num body Return NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If UnaryOpNot Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Dict Str Str NameLoad Dict Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str TryExcept body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body ImportFrom alias Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword NameLoad attr Return NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num body Return NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr attr attr Str NameLoad If UnaryOpNot NameLoad body Return ListLoad Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Return NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Assign NameStore Dict Str Dict Str Str AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad TryExcept body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword NameLoad attr attr Str NameLoad If UnaryOpNot NameLoad body Return ListLoad Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Return NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A warnings datetime datetime N/A json N/A logging time sleep N/A uuid N/A time N/A sys N/A numpy np distutils.version StrictVersion pandas compat pandas.core.api DataFrame pandas.tools.merge concat pandas.core.common PandasError pandas.compat lzip bytes_to_str _check_google_client_version N/A N/A N/A N/A N/A N/A N/A pkg_resources N/A N/A N/A ImportError N/A N/A N/A ImportError Could not import pkg_resources (setuptools). N/A N/A compat PY3 N/A N/A google_api_minimum_version 1.4.1 N/A N/A google_api_minimum_version 1.2.0 N/A _GOOGLE_API_CLIENT_VERSION N/A N/A N/A pkg_resources get_distribution google-api-python-client version N/A N/A N/A StrictVersion _GOOGLE_API_CLIENT_VERSION N/A StrictVersion google_api_minimum_version N/A N/A N/A ImportError N/A N/A pandas requires google-api-python-client >= {0} for Google BigQuery support, current version {1} format google_api_minimum_version _GOOGLE_API_CLIENT_VERSION N/A _test_google_api_imports N/A N/A N/A N/A N/A N/A N/A httplib2 apiclient.discovery build apiclient.errors HttpError oauth2client.client AccessTokenRefreshError oauth2client.client OAuth2WebServerFlow oauth2client.file Storage oauth2client.tools run_flow argparser N/A N/A N/A ImportError N/A e N/A N/A N/A ImportError N/A N/A Missing module required for Google BigQuery support: {0} format N/A str e N/A N/A logger N/A N/A logging getLogger pandas.io.gbq N/A N/A N/A logger setLevel N/A logging ERROR InvalidPrivateKeyFormat N/A PandasError ValueError N/A N/A 
    Raised when provided private key has invalid format.
     N/A N/A AccessDenied N/A PandasError ValueError N/A N/A 
    Raised when invalid credentials are provided, or tokens have expired.
     N/A N/A DatasetCreationError N/A PandasError ValueError N/A N/A 
    Raised when the create dataset method fails
     N/A N/A GenericGBQException N/A PandasError ValueError N/A N/A 
    Raised when an unrecognized Google API Error occurs.
     N/A N/A InvalidColumnOrder N/A PandasError ValueError N/A N/A 
    Raised when the provided column order for output
    results DataFrame does not match the schema
    returned by BigQuery.
     N/A N/A InvalidPageToken N/A PandasError ValueError N/A N/A 
    Raised when Google BigQuery fails to return,
    or returns a duplicate page token.
     N/A N/A InvalidSchema N/A PandasError ValueError N/A N/A 
    Raised when the provided DataFrame does
    not match the schema of the destination
    table in BigQuery.
     N/A N/A NotFoundException N/A PandasError ValueError N/A N/A 
    Raised when the project_id, table or dataset provided in the query could
    not be found.
     N/A N/A StreamingInsertError N/A PandasError ValueError N/A N/A 
    Raised when BigQuery reports a streaming insert error.
    For more information see `Streaming Data Into BigQuery
    <https://cloud.google.com/bigquery/streaming-data-into-bigquery>`__
     N/A TableCreationError N/A PandasError ValueError N/A N/A 
    Raised when the create table method fails
     N/A N/A GbqConnector N/A object N/A N/A scope https://www.googleapis.com/auth/bigquery __init__ N/A N/A self project_id reauth verbose private_key N/A False False None N/A N/A N/A _check_google_client_version N/A N/A _test_google_api_imports N/A N/A self project_id project_id N/A N/A self reauth reauth N/A N/A self verbose verbose N/A N/A self private_key private_key N/A N/A self credentials N/A N/A self get_credentials N/A N/A self service N/A N/A self get_service N/A get_credentials N/A N/A self N/A N/A N/A N/A self private_key N/A N/A N/A N/A self get_service_account_credentials N/A N/A N/A N/A self get_user_account_credentials N/A get_user_account_credentials N/A N/A self N/A N/A oauth2client.client OAuth2WebServerFlow oauth2client.file Storage oauth2client.tools run_flow argparser N/A flow N/A OAuth2WebServerFlow client_id 495642085510-k0tmvj2m941jhre2nbqka17vqpjfddtd.apps.googleusercontent.com client_secret kOc9wMptUtxkcIFbtZCcrEAc scope N/A self scope redirect_uri urn:ietf:wg:oauth:2.0:oob N/A storage N/A Storage bigquery_credentials.dat N/A credentials N/A N/A storage get N/A N/A N/A credentials None N/A credentials invalid N/A self reauth N/A N/A credentials N/A run_flow flow storage N/A N/A argparser parse_args N/A N/A credentials N/A get_service_account_credentials N/A N/A self N/A N/A N/A oauth2client_v1 True N/A oauth2client_v2 True N/A N/A oauth2client.client SignedJwtAssertionCredentials N/A N/A N/A ImportError N/A N/A oauth2client_v1 False N/A N/A oauth2client.service_account ServiceAccountCredentials N/A N/A N/A ImportError N/A N/A oauth2client_v2 False N/A N/A N/A oauth2client_v1 N/A oauth2client_v2 N/A N/A N/A ImportError Missing oauth2client required for BigQuery service account support os.path isfile N/A N/A N/A N/A isfile N/A self private_key N/A N/A N/A open N/A self private_key f N/A N/A json_key N/A N/A json loads N/A N/A f read N/A N/A json_key N/A N/A json loads N/A N/A N/A self private_key replace N/A N/A json_key N/A private_key N/A N/A N/A json_key N/A private_key replace N/A N/A compat PY3 N/A N/A N/A json_key N/A private_key N/A bytes N/A json_key N/A private_key UTF-8 N/A oauth2client_v1 N/A N/A N/A SignedJwtAssertionCredentials N/A json_key N/A client_email N/A json_key N/A private_key N/A self scope N/A N/A N/A N/A ServiceAccountCredentials from_json_keyfile_dict json_key N/A self scope N/A N/A N/A N/A KeyError ValueError TypeError AttributeError N/A N/A N/A InvalidPrivateKeyFormat Private key is missing or invalid. It should be service account private key JSON (file path or string contents) with at least two keys: 'client_email' and 'private_key'. Can be obtained from: https://console.developers.google.com/permissions/serviceaccounts N/A _print N/A N/A self msg end N/A N/A N/A N/A self verbose N/A N/A N/A N/A N/A sys stdout write N/A msg end N/A N/A N/A N/A sys stdout flush N/A _start_timer N/A N/A self N/A N/A N/A N/A self start N/A N/A time time N/A get_elapsed_seconds N/A N/A self N/A N/A N/A N/A round N/A N/A N/A time time N/A self start 2 N/A print_elapsed_seconds N/A N/A self prefix postfix overlong N/A Elapsed s. 7 N/A N/A sec N/A N/A self get_elapsed_seconds N/A N/A sec overlong N/A N/A N/A N/A self _print N/A N/A {} {} {} format prefix sec postfix N/A sizeof_fmt N/A N/A num suffix N/A b N/A N/A fmt %3.1f %s%s N/A unit N/A k M G T P E Z N/A N/A N/A N/A abs num 1024.0 N/A N/A N/A fmt N/A num unit suffix N/A num 1024.0 N/A N/A fmt N/A num Y suffix N/A staticmethod get_service N/A N/A self N/A N/A N/A httplib2 apiclient.discovery build N/A http N/A N/A httplib2 Http N/A http N/A N/A N/A self credentials authorize http N/A bigquery_service N/A build bigquery v2 http http N/A bigquery_service N/A process_http_error N/A N/A ex N/A N/A N/A status N/A N/A N/A json loads N/A bytes_to_str N/A ex content N/A error N/A errors N/A N/A status get errors None N/A errors N/A N/A error errors N/A N/A reason N/A error N/A reason N/A message N/A error N/A message N/A N/A GenericGBQException N/A N/A Reason: {0}, Message: {1} format reason message N/A N/A GenericGBQException errors N/A staticmethod process_insert_errors N/A N/A self insert_errors N/A N/A N/A insert_error insert_errors N/A N/A row N/A insert_error N/A index N/A errors N/A N/A insert_error get errors None N/A error errors N/A N/A reason N/A error N/A reason N/A message N/A error N/A message N/A location N/A error N/A location N/A error_message N/A N/A Error at Row: {0}, Reason: {1}, Location: {2}, Message: {3} format row reason location message N/A N/A self verbose N/A N/A N/A N/A self _print error_message N/A N/A N/A StreamingInsertError N/A error_message 
Enable verbose logging to see all errors N/A StreamingInsertError N/A run_query N/A N/A self query N/A N/A apiclient.errors HttpError oauth2client.client AccessTokenRefreshError N/A N/A _check_google_client_version N/A job_collection N/A N/A N/A self service jobs N/A job_data N/A configuration N/A query N/A query query N/A N/A N/A self _start_timer N/A N/A N/A N/A N/A self _print Requesting query...  end N/A query_reply N/A N/A N/A N/A job_collection insert projectId N/A self project_id body job_data execute N/A N/A N/A self _print ok.
Query running... N/A N/A N/A N/A AccessTokenRefreshError ValueError N/A N/A N/A self private_key N/A N/A N/A AccessDenied The service account credentials are not valid N/A N/A N/A AccessDenied The credentials have been revoked or expired, please re-run the application to re-authorize N/A N/A HttpError N/A ex N/A N/A N/A N/A self process_http_error ex N/A job_reference N/A query_reply N/A jobReference N/A N/A N/A N/A query_reply get jobComplete False N/A N/A N/A N/A self print_elapsed_seconds   Elapsed s. Waiting... N/A N/A N/A query_reply N/A N/A N/A N/A job_collection getQueryResults projectId N/A job_reference N/A projectId jobId N/A job_reference N/A jobId execute N/A N/A N/A HttpError N/A ex N/A N/A N/A N/A self process_http_error ex N/A N/A self verbose N/A N/A N/A query_reply N/A cacheHit N/A N/A N/A N/A self _print Query done.
Cache hit.
 N/A N/A bytes_processed N/A int N/A N/A query_reply get totalBytesProcessed 0 N/A N/A N/A self _print N/A N/A Query done.
Processed: {}
 format N/A N/A self sizeof_fmt bytes_processed N/A N/A N/A self _print Retrieving results... N/A total_rows N/A int N/A query_reply N/A totalRows N/A result_pages N/A list N/A seen_page_tokens N/A list N/A current_row 0 N/A schema N/A query_reply N/A schema N/A N/A N/A rows query_reply N/A current_row total_rows N/A N/A page N/A query_reply N/A rows N/A N/A N/A result_pages append page N/A current_row N/A len page N/A N/A N/A self print_elapsed_seconds N/A N/A   Got page: {}; {}% done. Elapsed format N/A len result_pages N/A round N/A N/A 100.0 current_row total_rows N/A N/A current_row total_rows N/A N/A N/A page_token N/A N/A query_reply get pageToken None N/A N/A N/A page_token N/A current_row total_rows N/A N/A N/A InvalidPageToken N/A N/A Required pageToken was missing. Received {0} of {1} rows format current_row total_rows N/A N/A N/A page_token seen_page_tokens N/A N/A N/A InvalidPageToken A duplicate pageToken was returned N/A N/A N/A seen_page_tokens append page_token N/A N/A N/A query_reply N/A N/A N/A N/A job_collection getQueryResults projectId N/A job_reference N/A projectId jobId N/A job_reference N/A jobId pageToken page_token execute N/A N/A N/A HttpError N/A ex N/A N/A N/A N/A self process_http_error ex N/A N/A current_row total_rows N/A N/A N/A InvalidPageToken N/A N/A N/A self _print N/A N/A Got {} rows.
 format total_rows N/A N/A schema result_pages N/A load_data N/A N/A self dataframe dataset_id table_id chunksize N/A N/A apiclient.errors HttpError N/A job_id N/A N/A N/A uuid uuid4 hex N/A rows N/A N/A remaining_rows N/A len dataframe N/A N/A self verbose N/A N/A total_rows remaining_rows N/A N/A N/A self _print N/A N/A index row N/A N/A N/A N/A dataframe reset_index drop True iterrows N/A N/A row_dict N/A dict N/A N/A row_dict N/A json N/A N/A json loads N/A N/A row to_json force_ascii False date_unit s date_format iso N/A N/A row_dict N/A insertId N/A job_id N/A str index N/A N/A N/A rows append row_dict N/A remaining_rows 1 N/A N/A N/A N/A N/A len rows chunksize 0 N/A remaining_rows 0 N/A N/A N/A N/A self _print N/A N/A 
Streaming Insert is {0}% Complete format N/A N/A N/A total_rows remaining_rows 100 total_rows N/A body N/A rows rows N/A N/A N/A response N/A N/A N/A N/A N/A N/A N/A self service tabledata insertAll projectId N/A self project_id datasetId dataset_id tableId table_id body body execute N/A N/A N/A HttpError N/A ex N/A N/A N/A N/A self process_http_error ex N/A insert_errors N/A N/A response get insertErrors None N/A insert_errors N/A N/A N/A N/A self process_insert_errors insert_errors N/A N/A sleep 1 N/A rows N/A N/A N/A N/A self _print N/A verify_schema N/A N/A self dataset_id table_id schema N/A N/A apiclient.errors HttpError N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A self service tables get projectId N/A self project_id datasetId dataset_id tableId table_id execute N/A schema schema N/A N/A N/A HttpError N/A ex N/A N/A N/A N/A self process_http_error ex N/A delete_and_recreate_table N/A N/A self dataset_id table_id table_schema N/A N/A N/A delay 0 N/A N/A N/A N/A self verify_schema dataset_id table_id table_schema N/A N/A N/A N/A self _print The existing table has a different schema. Please wait 2 minutes. See Google BigQuery issue #191 N/A delay 120 N/A table N/A _Table N/A self project_id dataset_id private_key N/A self private_key N/A N/A N/A table delete table_id N/A N/A N/A table create table_id table_schema N/A N/A sleep delay N/A N/A _parse_data N/A N/A schema rows N/A N/A N/A dtype_map N/A INTEGER FLOAT TIMESTAMP N/A N/A np dtype float N/A N/A np dtype float M8[ns] N/A fields N/A schema N/A fields N/A col_types N/A N/A field N/A type N/A field fields N/A col_names N/A N/A str N/A field N/A name N/A field fields N/A col_dtypes N/A N/A N/A dtype_map get N/A field N/A type object N/A field fields N/A page_array N/A N/A np zeros N/A N/A len rows dtype N/A lzip col_names col_dtypes N/A N/A row_num raw_row N/A enumerate rows N/A N/A entries N/A N/A raw_row get f N/A N/A N/A col_num field_type N/A enumerate col_types N/A N/A field_value N/A _parse_entry N/A N/A N/A entries N/A col_num get v field_type N/A N/A N/A page_array N/A row_num N/A col_num field_value N/A N/A DataFrame page_array columns col_names N/A _parse_entry N/A N/A field_value field_type N/A N/A N/A N/A N/A field_value None N/A field_value null N/A N/A None N/A N/A N/A field_type INTEGER N/A field_type FLOAT N/A N/A N/A float field_value N/A N/A N/A field_type TIMESTAMP N/A N/A timestamp N/A N/A datetime utcfromtimestamp N/A float field_value N/A N/A N/A np datetime64 timestamp N/A N/A N/A field_type BOOLEAN N/A N/A N/A field_value true N/A field_value N/A read_gbq N/A N/A query project_id index_col col_order reauth verbose private_key N/A None None None False True None N/A N/A Load data from Google BigQuery.

    THIS IS AN EXPERIMENTAL LIBRARY

    The main method a user calls to execute a Query in Google BigQuery
    and read results into a pandas DataFrame.

    Google BigQuery API Client Library v2 for Python is used.
    Documentation is available at
    https://developers.google.com/api-client-library/python/apis/bigquery/v2

    Authentication to the Google BigQuery service is via OAuth 2.0.
    By default user account credentials are used. You will be asked to
    grant permissions for product name 'pandas GBQ'. It is also posible
    to authenticate via service account credentials by using
    private_key parameter.

    Parameters
    ----------
    query : str
        SQL-Like Query to return data values
    project_id : str
        Google BigQuery Account project ID.
    index_col : str (optional)
        Name of result column to use for index in results DataFrame
    col_order : list(str) (optional)
        List of BigQuery column names in the desired order for results
        DataFrame
    reauth : boolean (default False)
        Force Google BigQuery to reauthenticate the user. This is useful
        if multiple accounts are used.
    verbose : boolean (default True)
        Verbose output
    private_key : str (optional)
        Service account private key in JSON format. Can be file path
        or string contents. This is useful for remote server
        authentication (eg. jupyter iPython notebook on remote host)

    Returns
    -------
    df: DataFrame
        DataFrame representing results of query

     N/A N/A project_id N/A N/A N/A TypeError Missing required parameter: project_id N/A connector N/A GbqConnector project_id reauth reauth verbose verbose private_key private_key N/A N/A schema pages N/A N/A connector run_query query N/A dataframe_list N/A N/A N/A N/A len pages 0 N/A N/A page N/A N/A pages pop N/A N/A N/A dataframe_list append N/A _parse_data schema page N/A N/A N/A len dataframe_list 0 N/A N/A final_df N/A concat dataframe_list ignore_index True N/A N/A final_df N/A _parse_data schema N/A N/A N/A index_col None N/A N/A N/A index_col N/A final_df columns N/A N/A N/A N/A final_df set_index index_col inplace True N/A N/A N/A InvalidColumnOrder N/A N/A Index column "{0}" does not exist in DataFrame. format index_col N/A N/A col_order None N/A N/A N/A N/A sorted col_order N/A sorted N/A final_df columns N/A N/A final_df N/A final_df N/A col_order N/A N/A N/A InvalidColumnOrder Column order does not match this DataFrame. N/A N/A final_df _data N/A N/A N/A final_df _data downcast dtypes infer N/A N/A N/A connector print_elapsed_seconds Total time taken N/A N/A N/A N/A datetime now strftime s.
Finished at %Y-%m-%d %H:%M:%S. 0 N/A final_df N/A to_gbq N/A N/A dataframe destination_table project_id chunksize verbose reauth if_exists private_key N/A 10000 True False fail None N/A N/A Write a DataFrame to a Google BigQuery table.

    THIS IS AN EXPERIMENTAL LIBRARY

    The main method a user calls to export pandas DataFrame contents to
    Google BigQuery table.

    Google BigQuery API Client Library v2 for Python is used.
    Documentation is available at
    https://developers.google.com/api-client-library/python/apis/bigquery/v2

    Authentication to the Google BigQuery service is via OAuth 2.0.
    By default user account credentials are used. You will be asked to
    grant permissions for product name 'pandas GBQ'. It is also posible
    to authenticate via service account credentials by using
    private_key parameter.

    Parameters
    ----------
    dataframe : DataFrame
        DataFrame to be written
    destination_table : string
        Name of table to be written, in the form 'dataset.tablename'
    project_id : str
        Google BigQuery Account project ID.
    chunksize : int (default 10000)
        Number of rows to be inserted in each chunk from the dataframe.
    verbose : boolean (default True)
        Show percentage complete
    reauth : boolean (default False)
        Force Google BigQuery to reauthenticate the user. This is useful
        if multiple accounts are used.
    if_exists : {'fail', 'replace', 'append'}, default 'fail'
        'fail': If table exists, do nothing.
        'replace': If table exists, drop it, recreate it, and insert data.
        'append': If table exists, insert data. Create if does not exist.
    private_key : str (optional)
        Service account private key in JSON format. Can be file path
        or string contents. This is useful for remote server
        authentication (eg. jupyter iPython notebook on remote host)
     N/A N/A if_exists N/A fail replace append N/A N/A N/A ValueError N/A N/A '{0}' is not valid for if_exists format if_exists N/A N/A . destination_table N/A N/A N/A NotFoundException Invalid Table Name. Should be of the form 'datasetId.tableId'  N/A connector N/A GbqConnector project_id reauth reauth verbose verbose private_key private_key N/A N/A dataset_id table_id N/A N/A destination_table rsplit . 1 N/A table N/A _Table project_id dataset_id reauth reauth private_key private_key N/A table_schema N/A _generate_bq_schema dataframe N/A N/A N/A table exists table_id N/A N/A N/A if_exists fail N/A N/A N/A TableCreationError Could not create the table because it already exists. Change the if_exists parameter to append or replace data. N/A N/A N/A if_exists replace N/A N/A N/A N/A connector delete_and_recreate_table dataset_id table_id table_schema N/A N/A N/A if_exists append N/A N/A N/A N/A N/A connector verify_schema dataset_id table_id table_schema N/A N/A N/A InvalidSchema Please verify that the column order, structure and data types in the DataFrame match the schema of the destination table. N/A N/A N/A N/A table create table_id table_schema N/A N/A N/A connector load_data dataframe dataset_id table_id chunksize N/A generate_bq_schema N/A N/A df default_type N/A STRING N/A N/A N/A N/A warnings warn generate_bq_schema is deprecated and will be removed in a future version FutureWarning stacklevel 2 N/A N/A _generate_bq_schema df default_type default_type N/A _generate_bq_schema N/A N/A df default_type N/A STRING N/A N/A  Given a passed df, generate the associated Google BigQuery schema.

    Parameters
    ----------
    df : DataFrame
    default_type : string
        The default big query type in case the type of the column
        does not exist in the schema.
     N/A type_mapping N/A i b f O S U M INTEGER BOOLEAN FLOAT STRING STRING STRING TIMESTAMP N/A fields N/A N/A N/A column_name dtype N/A N/A N/A df dtypes iteritems N/A N/A N/A N/A fields append N/A name type column_name N/A N/A type_mapping get N/A dtype kind default_type N/A N/A fields fields N/A _Table N/A GbqConnector N/A __init__ N/A N/A self project_id dataset_id reauth verbose private_key N/A False False None N/A apiclient.errors HttpError N/A N/A self http_error HttpError N/A N/A self dataset_id dataset_id N/A N/A N/A N/A super _Table self __init__ project_id reauth verbose private_key N/A exists N/A N/A self table_id N/A N/A N/A  Check if a table exists in Google BigQuery

        .. versionadded:: 0.17.0

        Parameters
        ----------
        table : str
            Name of table to be verified

        Returns
        -------
        boolean
            true if table exists, otherwise false
         N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A self service tables get projectId N/A self project_id datasetId N/A self dataset_id tableId table_id execute N/A True N/A N/A N/A N/A self http_error N/A ex N/A N/A N/A N/A N/A ex resp status 404 N/A N/A False N/A N/A N/A N/A self process_http_error ex N/A create N/A N/A self table_id schema N/A N/A N/A  Create a table in Google BigQuery given a table and schema

        .. versionadded:: 0.17.0

        Parameters
        ----------
        table : str
            Name of table to be written
        schema : str
            Use the generate_bq_schema to generate your table schema from a
            dataframe.
         N/A N/A N/A self exists table_id N/A N/A N/A TableCreationError The table could not be created because it already exists N/A N/A N/A N/A N/A _Dataset N/A self project_id private_key N/A self private_key exists N/A self dataset_id N/A N/A N/A N/A N/A _Dataset N/A self project_id private_key N/A self private_key create N/A self dataset_id N/A body N/A schema tableReference schema N/A tableId projectId datasetId table_id N/A self project_id N/A self dataset_id N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A self service tables insert projectId N/A self project_id datasetId N/A self dataset_id body body execute N/A N/A N/A N/A self http_error N/A ex N/A N/A N/A N/A self process_http_error ex N/A delete N/A N/A self table_id N/A N/A N/A  Delete a table in Google BigQuery

        .. versionadded:: 0.17.0

        Parameters
        ----------
        table : str
            Name of table to be deleted
         N/A N/A N/A N/A self exists table_id N/A N/A N/A NotFoundException Table does not exist N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A self service tables delete datasetId N/A self dataset_id projectId N/A self project_id tableId table_id execute N/A N/A N/A N/A self http_error N/A ex N/A N/A N/A N/A self process_http_error ex N/A N/A _Dataset N/A GbqConnector N/A __init__ N/A N/A self project_id reauth verbose private_key N/A False False None N/A apiclient.errors HttpError N/A N/A self http_error HttpError N/A N/A N/A N/A super _Dataset self __init__ project_id reauth verbose private_key N/A exists N/A N/A self dataset_id N/A N/A N/A  Check if a dataset exists in Google BigQuery

        .. versionadded:: 0.17.0

        Parameters
        ----------
        dataset_id : str
            Name of dataset to be verified

        Returns
        -------
        boolean
            true if dataset exists, otherwise false
         N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A self service datasets get projectId N/A self project_id datasetId dataset_id execute N/A True N/A N/A N/A N/A self http_error N/A ex N/A N/A N/A N/A N/A ex resp status 404 N/A N/A False N/A N/A N/A N/A self process_http_error ex N/A datasets N/A N/A self N/A N/A N/A  Return a list of datasets in Google BigQuery

        .. versionadded:: 0.17.0

        Parameters
        ----------
        None

        Returns
        -------
        list
            List of datasets under the specific project
         N/A N/A N/A list_dataset_response N/A N/A N/A N/A N/A N/A N/A N/A N/A self service datasets list projectId N/A self project_id execute get datasets None N/A N/A list_dataset_response N/A N/A N/A N/A dataset_list N/A list N/A N/A row_num raw_row N/A enumerate list_dataset_response N/A N/A N/A N/A dataset_list append N/A N/A raw_row N/A datasetReference N/A datasetId N/A dataset_list N/A N/A N/A N/A self http_error N/A ex N/A N/A N/A N/A self process_http_error ex N/A create N/A N/A self dataset_id N/A N/A N/A  Create a dataset in Google BigQuery

        .. versionadded:: 0.17.0

        Parameters
        ----------
        dataset : str
            Name of dataset to be written
         N/A N/A N/A self exists dataset_id N/A N/A N/A DatasetCreationError The dataset could not be created because it already exists N/A body N/A datasetReference N/A projectId datasetId N/A self project_id dataset_id N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A self service datasets insert projectId N/A self project_id body body execute N/A N/A N/A N/A self http_error N/A ex N/A N/A N/A N/A self process_http_error ex N/A delete N/A N/A self dataset_id N/A N/A N/A  Delete a dataset in Google BigQuery

        .. versionadded:: 0.17.0

        Parameters
        ----------
        dataset : str
            Name of dataset to be deleted
         N/A N/A N/A N/A self exists dataset_id N/A N/A N/A NotFoundException N/A N/A Dataset {0} does not exist format dataset_id N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A self service datasets delete datasetId dataset_id projectId N/A self project_id execute N/A N/A N/A N/A self http_error N/A ex N/A N/A N/A N/A self process_http_error ex N/A tables N/A N/A self dataset_id N/A N/A N/A  List tables in the specific dataset in Google BigQuery

        .. versionadded:: 0.17.0

        Parameters
        ----------
        dataset : str
            Name of dataset to list tables for

        Returns
        -------
        list
            List of tables under the specific dataset
         N/A N/A N/A list_table_response N/A N/A N/A N/A N/A N/A N/A N/A N/A self service tables list projectId N/A self project_id datasetId dataset_id execute get tables None N/A N/A list_table_response N/A N/A N/A N/A table_list N/A list N/A N/A row_num raw_row N/A enumerate list_table_response N/A N/A N/A N/A table_list append N/A N/A raw_row N/A tableReference N/A tableId N/A table_list N/A N/A N/A N/A self http_error N/A ex N/A N/A N/A N/A self process_http_error ex N/A N/A