Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: omise.Charge schedule attribute is a callable that returns incorrect value #54

Open
jamesx00 opened this issue Jun 17, 2022 · 1 comment

Comments

@jamesx00
Copy link

As per the documentation, a charge's attribute "schedule" should be an object id expandable. But calling charge.schedule() returns a list of all the charges in the account.

charge = omise.Charge.retrieve("charge_id")
len(charge.schedule()) # This returns more than 1
@aashishgurung
Copy link

@jamesx00 Hey, sorry for being late. If it's still relevant, would you pease tell us what was your expected result as object id expandable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants