Skip to content

[Bug]: Incorrect typing on return value of CarrierAccountService.all() #386

Closed

Description

Software Version

10.4.0

Language Version

3.13.12

Operating System

MacOS

What happened?

  1. Run mypy on a file containing a function call to CarrierAccountService.all() that iterates over the returned list

What was expected?

Successful mypy run

Sample Code

from easypost.easypost_client import EasyPostClient

client = EasyPostClient(api_key=<API_KEY>)
for account in client.carrier_account.all():
    # Do anything
    pass

Relevant logs

Activity

  1. added a commit that references this issue on Feb 24, 2026
    9784cde
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions