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

Updates sample code in README to be runnable #11

Closed
wants to merge 2 commits into from

Conversation

zachwick
Copy link

The example code in the README uses a filter_companies method that does not seem to be defined anywhere. This PR replaces that undefined method with a simple call to get_company so that users can quickly and easily have a running code sample to test their installation of the python SDK.

This project appears to already use tox for running tests in multiple
environments, so this change makes use of the tox-travis module so
that travis-ci builds can easily call into tox to run the test suite
instead of maintaining two callpaths into the nosetest based test suite.

This commit force using Xenial on travis-ci so as to support python 3.7

Signed-off-by: zachwick <[email protected]>
@kgmiller
Copy link
Contributor

Thanks @zachwick - the filter_companies method was removed in the last release. We went ahead and changed the example to use intraday prices :)

@kgmiller kgmiller closed this Apr 10, 2019
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

Successfully merging this pull request may close these issues.

2 participants