kevinheavey / anchorpy

The Python Anchor client.
https://kevinheavey.github.io/anchorpy/
MIT License
221 stars 59 forks source link

add fetch_all classmethod #116

Closed pyz4 closed 9 months ago

pyz4 commented 1 year ago

Issue: when fetching all accounts and providing a filter, discriminator gets dropped from filter_to_use Cause: A + B if...else statement acting on entire scope of A + B instead of just B Solution: add parentheses to ensure right scope in if/else statement

pyz4 commented 1 year ago

@kevinheavey This request combines the two commits into a single pull request. It now includes changes to both the client-gen and tests.

kevinheavey commented 1 year ago

Nice, just some lint left now