Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

Small typing improvement for AsyncCollectionReference and AsyncQuery #781

@sergiterupri

Description

@sergiterupri

Is your feature request related to a problem? Please describe.
Typing isn't working well when using AsyncCollectionReference and AsyncQuery. As an example, where method which is inherited on both cases, will "return" a BaseQuery.

Having an AsyncQuery:
Captura de pantalla 2023-10-16 a las 16 56 45

After using where the editor thinks it is a BaseQuery:
Captura de pantalla 2023-10-16 a las 16 57 21

And because of this the editor says I can't do "async stuff":
Captura de pantalla 2023-10-16 a las 16 58 07

Describe the solution you'd like
Correct typing for AsyncCollectionReference and AsyncQuery methods.

Additional context
I'm also providing a small PR with required changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: firestoreIssues related to the googleapis/python-firestore API.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions