Skip to content

trio support broken: unexpected keyword argument 'auth_manager' #138

Open
@burnpanck

Description

@burnpanck

It appears that trio support is currently broken. The following basic example fails:

async with aiogoogle.Aiogoogle(
    session_factory=aiogoogle.sessions.trio_asks_session.TrioAsksSession,
) as gcp_api:
    storage = await gcp_api.discover("storage", "v1")

->

TypeError: TrioAsksSession.send() got an unexpected keyword argument 'auth_manager'

It looks like auth_manager is something requests-specific which potentially was just implemented recently?
This was tested under python 3.12.2 with the following versions:

  • trio: 0.24.0
  • aiogoogle: 5.7.0
  • asks: 3.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions