Skip to content

Type Annotation Error of progress_bar_type in read_gbq function #934

Open
@haru-256

Description

@haru-256

Environment details

  • OS type and version: macOS
  • Python version: 3.12.8
  • pip version: 24.3.1
  • pandas-gbq version: 0.29.1

Steps to reproduce

  1. pass progress_bar_type = None to read_gbq function to suppress tqdm
  2. report the following type error
Argument of type "None" cannot be assigned to parameter "progress_bar_type" of type "str" in function "read_gbq"
  "None" is not assignable to "str"

Code example

import pandas_gbq

pandas_gbq.read_gbq("select  ...", progress_bar_type=None)

Stack trace

Nothing.

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/python-bigquery-pandas API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions