-
Notifications
You must be signed in to change notification settings - Fork 134
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
Updates to ActionKit, S3, and NGPVan #775
Conversation
Update setup_google_application_credentials to support dict parameter
…egation The oauth2client library is deprecated, and gspread will drop most information from the oauth2client authorization. Switch to the actively maintained google-auth library and add an argument for a delegated account name.
Update authorization library for Google Sheets to support account del…
Update authorization library for Google Sheets to support account delegation
Don't auto-grab session token if it's not passed in
The new method paginated_get expands get_events to work for any type of object, and get_events has been updated to refer to paginated_get. In addition, a new method, paginated_get_custom_limit, allows for truncating the data based on the value of a field, rather than a fixed set of results. For example, this would allow you to return all users created within the last day. (Some fields which permit ordering may not permit filtering, which is why this can't be accomplished with a simple filter.) Tests have also been written for the new methods. Names of methods and arguments are not final and could use some work; suggestions welcome.
Modeled on transaction search. Test data obtained by editing the subscription gateway to print the search response (https://github.com/braintree/braintree_python/blob/fc98c738f9e74736a7d1e82cfb4e37f6e493c3c4/braintree/subscription_gateway.py#L59).
Add subscription search to Braintree
Add new general object search methods to ActionKit
Update from upstream branch
S3 gets initialized from inside the Redshift code, so add the option to the Redshift setup as well.
Fix import and linting issues
Add use_env_token option to Redshift
Add method to cancel recurring orders
Return status code for recurring order cancel
Add contact notes API for NGP VAN connector
Update from upstream branch
Add create_transaction method to ActionKit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay in reviewing! Overall this looks great—my only question is around test coverage. Only one of the three new ActionKit methods has a test, and the new NGPVAN class has two methods, neither of which have tests. Is there a reason not to include tests for these things?
Hey @shaunagm , no reason not to have tests. I can add them |
Thank you! |
Update moveon's branch w/ upstream repo
Add tests for ActionKit and Van
Hey @shaunagm , I added the tests |
Awesome, thank you @crayolakat |
cancel_orderrecurring
andupdate_paymenttoken
functions to ActionKit connectoruse_env_token
parameter to S3 initializer