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

add query names, new profile endpoints #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add query names, new profile endpoints #53

wants to merge 1 commit into from

Conversation

cshanes
Copy link
Contributor

@cshanes cshanes commented Jul 23, 2021

Query names are needed to help us monitor backend performance (since graphql queries all go to the same endpoint).

Also added a couple new methods to use the new v3UserProfile and v2SignalsProfile endpoints

numerapi/numerapi.py Show resolved Hide resolved
numerapi/numerapi.py Show resolved Hide resolved
numerapi/signalsapi.py Show resolved Hide resolved
assert profile["username"] == "integration_test"


def test_daily_model_performances(api):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these tests are shooting actual api request, which isn't the best idea (I know, I also do that in other places.) Would be better to use mocking.

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.

None yet

2 participants