@@ -2182,12 +2182,12 @@ def list_jobs(
21822182 parent_job : Optional [Union [QueryJob , str ]] = None ,
21832183 max_results : Optional [int ] = None ,
21842184 page_token : Optional [str ] = None ,
2185- all_users : bool = None ,
2185+ all_users : Optional [ bool ] = None ,
21862186 state_filter : Optional [str ] = None ,
21872187 retry : retries .Retry = DEFAULT_RETRY ,
21882188 timeout : TimeoutType = DEFAULT_TIMEOUT ,
2189- min_creation_time : datetime .datetime = None ,
2190- max_creation_time : datetime .datetime = None ,
2189+ min_creation_time : Optional [ datetime .datetime ] = None ,
2190+ max_creation_time : Optional [ datetime .datetime ] = None ,
21912191 page_size : Optional [int ] = None ,
21922192 ) -> page_iterator .Iterator :
21932193 """List jobs for the project associated with this client.
@@ -3407,7 +3407,7 @@ def insert_rows(
34073407 self ,
34083408 table : Union [Table , TableReference , str ],
34093409 rows : Union [Iterable [Tuple ], Iterable [Mapping [str , Any ]]],
3410- selected_fields : Sequence [SchemaField ] = None ,
3410+ selected_fields : Optional [ Sequence [SchemaField ] ] = None ,
34113411 ** kwargs ,
34123412 ) -> Sequence [Dict [str , Any ]]:
34133413 """Insert rows into a table via the streaming API.
@@ -3483,7 +3483,7 @@ def insert_rows_from_dataframe(
34833483 self ,
34843484 table : Union [Table , TableReference , str ],
34853485 dataframe ,
3486- selected_fields : Sequence [SchemaField ] = None ,
3486+ selected_fields : Optional [ Sequence [SchemaField ] ] = None ,
34873487 chunk_size : int = 500 ,
34883488 ** kwargs : Dict ,
34893489 ) -> Sequence [Sequence [dict ]]:
@@ -3546,8 +3546,8 @@ def insert_rows_json(
35463546 row_ids : Union [
35473547 Iterable [Optional [str ]], AutoRowIDs , None
35483548 ] = AutoRowIDs .GENERATE_UUID ,
3549- skip_invalid_rows : bool = None ,
3550- ignore_unknown_values : bool = None ,
3549+ skip_invalid_rows : Optional [ bool ] = None ,
3550+ ignore_unknown_values : Optional [ bool ] = None ,
35513551 template_suffix : Optional [str ] = None ,
35523552 retry : retries .Retry = DEFAULT_RETRY ,
35533553 timeout : TimeoutType = DEFAULT_TIMEOUT ,
@@ -3738,7 +3738,7 @@ def list_partitions(
37383738 def list_rows (
37393739 self ,
37403740 table : Union [Table , TableListItem , TableReference , str ],
3741- selected_fields : Sequence [SchemaField ] = None ,
3741+ selected_fields : Optional [ Sequence [SchemaField ] ] = None ,
37423742 max_results : Optional [int ] = None ,
37433743 page_token : Optional [str ] = None ,
37443744 start_index : Optional [int ] = None ,
@@ -3851,7 +3851,7 @@ def _list_rows_from_query_results(
38513851 project : str ,
38523852 schema : SchemaField ,
38533853 total_rows : Optional [int ] = None ,
3854- destination : Union [Table , TableReference , TableListItem , str ] = None ,
3854+ destination : Optional [ Union [Table , TableReference , TableListItem , str ] ] = None ,
38553855 max_results : Optional [int ] = None ,
38563856 start_index : Optional [int ] = None ,
38573857 page_size : Optional [int ] = None ,
0 commit comments