-
Notifications
You must be signed in to change notification settings - Fork 73
[SYNPY-1590] Implement core functionality of Submission(+Status, +Bundle) OOP model #1251
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
Open
jaymedina
wants to merge
61
commits into
synpy-1590-submission-model-main
Choose a base branch
from
synpy-1590-submission-model-functionality
base: synpy-1590-submission-model-main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
c748132
tdd initial tests
jaymedina 33643ae
initial intro of dataclasses
jaymedina 8a074e6
expose api services for submission object
jaymedina c97b891
style and update docstring
jaymedina f79f683
add submission and submissionstatus models
jaymedina 99ebaa1
add submission status retrieval and update methods; remove empty subm…
jaymedina 33c651f
pipe query params directly into restAPI httpx requests
jaymedina ae05b91
new dataclass object submission_bundle
jaymedina f51188d
move submission services functions to evaluation_services.py
jaymedina 33f7a6a
renaming imports, to_synapse_request, request body refactor
jaymedina 4a91a2e
patching up store method signature
jaymedina 65eac22
update docs
jaymedina a5ec33a
new suite of tests
jaymedina a160585
submissionstatus rework as a mutable object
jaymedina 660259e
bug fix for Statuses: updated to_synapse_request to follow same patte…
jaymedina 55a229c
replace != with is not for full object comparison (not just keys)
jaymedina 3479046
expose the is_private arg for to_submission_status_annotations ONLY F…
jaymedina 896a3c1
fixed submission status/submission annotations
jaymedina 26a02f1
add support for legacy annotations
jaymedina 271181a
remove debug prints
jaymedina c8c1041
get_all_submission_statuses now returns a list of substat objects
jaymedina 0436931
docstring updates
jaymedina cb48df2
update submissionbundle docstrings, add more examples
jaymedina dbe5f76
initial sync test for status. moved evaluation_id retrieval to fill_f…
jaymedina 7c07af9
update submissionBundle submissionstatus with evaluation_id
jaymedina 6a5e97b
patch sync substatus integ tests. style.
jaymedina 9c2c0d1
fix submissionStatus integ tests and has_changed attribute
jaymedina aee4ccd
new substatus async integ tests. can_cancel can now be modified by an…
jaymedina 4a5fe53
new test class for submission cancel functionality
jaymedina 480d5de
substatus async unit tests
jaymedina 4ca53e0
remove compare=false for some attributes. update sync unit tests
jaymedina 3f25df8
add submissionBundle integration tests
jaymedina b5839c3
add submissionBundle unit tests
jaymedina 5526b8d
remove unnecessary imports and add style
jaymedina bdeaaa7
get_evaluation_submissions returns generator object
jaymedina 7add157
get_user_submissions returns generator object
jaymedina 35696eb
submissionBundle methods return generators
jaymedina b8c0ee5
address final todo: implement docker_tag, and note in docs that versi…
jaymedina 73c5f1a
import -> imports
jaymedina 8db9e67
change back to import. patch uses synapse logger instance.
jaymedina 53d9852
lock mkdocstrings-python to >=2.0.0
jaymedina 1561141
Merge branch 'synpy-1590-submission-model-main' into synpy-1590-submi…
jaymedina 4d082c3
add Return description to create_submission
jaymedina 2272d47
[SYNPY-1714] Fix Issues with Failing Tests (#1287)
SageGJ 134ad0c
no need to build out Annotations object from scratch (remove evaluati…
jaymedina 48468c6
remove Dict, List imports
jaymedina 23a2779
fix broken tests due to removed evaluation_id attr
jaymedina 72a4dd0
style
jaymedina 8dd2db4
import classes directly from typing. remove Dict and List.
jaymedina b75c566
style
jaymedina be4278a
add API reference links to _fetch_latest_entity
jaymedina 5a70bd1
type hint should be logging.Logger instance (generic or Synapse client)
jaymedina a54ade1
explicit import to follow the other imports
jaymedina 890005e
import order
jaymedina 0b0fa0c
minimize indenting by using if not:
jaymedina 96f2dd7
raise ValueError(no etag for entity) sooner
jaymedina acedf26
remove docker submission async integration test
jaymedina 75bad96
link Jira ticket to TODO item
jaymedina ea52424
remove old cancel submission test
jaymedina f08a6ad
remove old cancel submission test (async)
jaymedina e5189d6
assert the SubmissionStatus object has not changed
jaymedina File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.