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 optional description to predictor upload #632

Merged
merged 7 commits into from Aug 4, 2019
Merged

Conversation

adelavega
Copy link
Collaborator

You can now pass an object/dictionary as descriptions when you POST to /api/predictors/collection`.

This lets you set the description for each of the columns in your events. In the future, we can expand this to add more meta-data but for now I think it's all we need.

@codecov-io
Copy link

codecov-io commented Aug 1, 2019

Codecov Report

Merging #632 into master will decrease coverage by 0.02%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #632      +/-   ##
==========================================
- Coverage   82.31%   82.29%   -0.03%     
==========================================
  Files          57       57              
  Lines        2177     2180       +3     
==========================================
+ Hits         1792     1794       +2     
- Misses        385      386       +1
Impacted Files Coverage Δ
neuroscout/tasks/viz.py 92.3% <ø> (ø) ⬆️
celery_worker/tasks.py 0% <0%> (ø) ⬆️
neuroscout/resources/predictor.py 90.66% <100%> (+0.12%) ⬆️
neuroscout/tasks/upload.py 55.55% <50%> (-0.16%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca16f2b...4a8bc4e. Read the comment docs.

@adelavega adelavega merged commit 5d3bba8 into master Aug 4, 2019
@adelavega adelavega deleted the enh/upload_desc branch August 4, 2019 00:32
@adelavega
Copy link
Collaborator Author

Closes #624 as well

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

Successfully merging this pull request may close these issues.

None yet

2 participants