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

Base classes and example for client-side code #10

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

dwhswenson
Copy link
Member

Resolves #4. Resolves #5. Resolves #6.

This includes the example code for a client that just gets a float result from each task, stores some data with that result and some metadata in a JSON file, and stores the tasks and how to run them as a pickle dump. I'm not sure where to actually keep that example code; maybe it should move under tests? My thought is that it'll be useful to us in writing tests (or even demos), but we probably don't want "real" people to be importing it.

@dwhswenson dwhswenson changed the title [WIP] Base classes and example for client-side code Base classes and example for client-side code Apr 20, 2023
@codecov
Copy link

codecov bot commented Apr 20, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +71.82 🎉

Comparison is base (8719153) 3.52% compared to head (4eb3648) 75.35%.

Additional details and impacted files
@@            Coverage Diff             @@
##            main      #10       +/-   ##
==========================================
+ Coverage   3.52%   75.35%   +71.82%     
==========================================
  Files          4        8        +4     
  Lines         85      211      +126     
==========================================
+ Hits           3      159      +156     
+ Misses        82       52       -30     
Impacted Files Coverage Δ
exorcist/__init__.py 100.00% <100.00%> (ø)
exorcist/example_client.py 100.00% <100.00%> (ø)
exorcist/models.py 100.00% <100.00%> (+100.00%) ⬆️
exorcist/resultstore.py 100.00% <100.00%> (ø)
exorcist/taskstore.py 100.00% <100.00%> (ø)
exorcist/tests/test_example_client.py 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dwhswenson
Copy link
Member Author

Note: will need to revert changes in 1cbf299 here.

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.

Example client code ResultStore TaskDetailsStore
1 participant