Skip to content

Bug: Client.execute_async() missing 'request' argument after gql 4.0 upgrade #172

@eriktuck

Description

@eriktuck

Description

After the recent upgrade to gql==4.0.0, a call to mm.get_transactions in the current version of monarchmoney (v0.1.15) raises:

TypeError: Client.execute_async() missing 1 required positional argument: 'request'

Steps to Reproduce

import asyncio
from monarchmoney import MonarchMoney

async def main():
    mm = MonarchMoney()
    await mm.login("email@example.com", "password")
    await mm.get_transactions(start_date="2024-01-01", end_date="2024-12-31")

asyncio.run(main())

Environment

  • monarchmoney==0.1.15
  • gql==4.0.0 (breaks)
  • gql==3.4.1 (works)
  • Python 3.10.19
  • OS: Linux (Arch)

Expected behavior

Transactions should download successfully with gql>=4.0.

Notes

Downgrading gql to <3.5.0 resolves the issue.

Thanks for maintaining this package — it’s super useful!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions