Module Expr Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return ListLoad Dict Str Str Str Str Str Str Dict Str Str Str Str Str Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad Str ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults ListLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Dict Str Str Str Num Dict Str Str Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad Str
N/A N/A 
This is an integration test for the Bigquery-luigi binding.

This test requires credentials that can access GCS & access to a bucket below.
Follow the directions in the gcloud tools to set up local credentials.
 N/A json N/A os N/A luigi luigi.contrib bigquery contrib gcs_test nose.plugins.attrib attr N/A PROJECT_ID N/A gcs_test PROJECT_ID N/A DATASET_ID N/A N/A N/A os environ get BQ_TEST_DATASET_ID luigi_tests TestLoadTask N/A N/A bigquery BigqueryLoadTask N/A N/A source N/A N/A luigi Parameter N/A table N/A N/A luigi Parameter schema N/A N/A self N/A N/A N/A N/A N/A mode name type NULLABLE field1 STRING N/A mode name type NULLABLE field2 INTEGER N/A property source_uris N/A N/A self N/A N/A N/A N/A N/A self source N/A output N/A N/A self N/A N/A N/A N/A N/A bigquery BigqueryTarget PROJECT_ID DATASET_ID N/A self table N/A N/A N/A attr gcloud TestRunQueryTask N/A N/A bigquery BigqueryRunQueryTask N/A N/A query  SELECT 'hello' as field1, 2 as field2  N/A table N/A N/A luigi Parameter output N/A N/A self N/A N/A N/A N/A N/A bigquery BigqueryTarget PROJECT_ID DATASET_ID N/A self table N/A N/A N/A attr gcloud BigqueryGcloudTest N/A N/A gcs_test _GCSBaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super BigqueryGcloudTest self setUp N/A N/A self bq_client N/A N/A bigquery BigqueryClient N/A gcs_test CREDENTIALS N/A N/A self table N/A N/A bigquery BQTable project_id PROJECT_ID dataset_id DATASET_ID table_id N/A N/A N/A N/A N/A self id split . N/A -1 N/A N/A N/A self addCleanup N/A N/A self bq_client delete_table N/A self table N/A create_dataset N/A N/A self data N/A N/A N/A N/A N/A N/A N/A self bq_client delete_table N/A self table N/A text N/A N/A join N/A map N/A json dumps data N/A gcs_file N/A N/A gcs_test bucket_url N/A N/A self id N/A N/A N/A N/A self client put_string text gcs_file N/A task N/A TestLoadTask source gcs_file table N/A N/A self table table_id N/A N/A N/A task run N/A test_table_uri N/A N/A self N/A N/A N/A intended_uri N/A N/A N/A N/A N/A bq:// PROJECT_ID / DATASET_ID / N/A N/A self table table_id N/A N/A N/A self assertTrue N/A N/A N/A self table uri intended_uri N/A test_load_and_copy N/A N/A self N/A N/A N/A N/A N/A self create_dataset N/A N/A field1 field2 hi 1 N/A field1 field2 bye 2 N/A N/A N/A self assertTrue N/A N/A N/A self bq_client dataset_exists N/A self table N/A N/A N/A self assertTrue N/A N/A N/A self bq_client table_exists N/A self table N/A N/A N/A self assertIn N/A N/A self table dataset_id N/A list N/A N/A N/A self bq_client list_datasets N/A N/A self table project_id N/A N/A N/A self assertIn N/A N/A self table table_id N/A list N/A N/A N/A self bq_client list_tables N/A N/A self table dataset N/A new_table N/A N/A N/A self table _replace table_id N/A N/A N/A self table table_id _copy N/A N/A N/A N/A self bq_client copy source_table N/A self table dest_table new_table N/A N/A N/A self assertTrue N/A N/A N/A self bq_client table_exists new_table N/A N/A N/A N/A self bq_client delete_table new_table N/A N/A N/A self assertFalse N/A N/A N/A self bq_client table_exists new_table N/A test_run_query N/A N/A self N/A N/A N/A task N/A TestRunQueryTask table N/A N/A self table table_id N/A N/A task _BIGQUERY_CLIENT N/A self bq_client N/A N/A N/A task run N/A N/A N/A self assertTrue N/A N/A N/A self bq_client table_exists N/A self table N/A N/A N/A attr gcloud