-
Notifications
You must be signed in to change notification settings - Fork 73
[SYNPY-1735] Release python client v4.11.0 #1308
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
Merged
Merged
Conversation
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
Co-authored-by: BryanFauble <[email protected]>
Co-authored-by: BryanFauble <[email protected]>
* Add support for external URLs in File storage
[SYNPY-1696] Add create JSON Schema CLI command
* add Low-level Functionality to interact with wikipage2 endpoints * add synchronous protocol for wiki2 * disable redirection when pulling markdown and attachment url * refactor _cleanup by simplifying the logic and add wiki entities * update rest_apis.md as wiki_services has been added * use rest_get_paginated_async to get paginated results * add wiki reference to navigation in mkdocs.yml * add static method to unzip file and reformat attachment name, allow gzipped and non-gzipped markdown and attachments * add async and sync unit test for wiki model * add tutorials * add integration tests * publish wiki docs
* tdd initial tests * [SYNPY-1590] Implement core functionality of Submission(+Status, +Bundle) OOP model (#1251) * tdd initial tests * initial intro of dataclasses * expose api services for submission object * style and update docstring * add submission and submissionstatus models * add submission status retrieval and update methods; remove empty submissionstatus file * pipe query params directly into restAPI httpx requests * new dataclass object submission_bundle * move submission services functions to evaluation_services.py * renaming imports, to_synapse_request, request body refactor * patching up store method signature * update docs * new suite of tests * submissionstatus rework as a mutable object * bug fix for Statuses: updated to_synapse_request to follow same pattern as evaluations design * replace != with is not for full object comparison (not just keys) * expose the is_private arg for to_submission_status_annotations ONLY FOR submission annotations * fixed submission status/submission annotations * add support for legacy annotations * remove debug prints * get_all_submission_statuses now returns a list of substat objects * docstring updates * update submissionbundle docstrings, add more examples * initial sync test for status. moved evaluation_id retrieval to fill_from_dict for submissionstatus calls * update submissionBundle submissionstatus with evaluation_id * patch sync substatus integ tests. style. * fix submissionStatus integ tests and has_changed attribute * new substatus async integ tests. can_cancel can now be modified by an organizer on the client. cancel request returns no response body. * new test class for submission cancel functionality * substatus async unit tests * remove compare=false for some attributes. update sync unit tests * add submissionBundle integration tests * add submissionBundle unit tests * remove unnecessary imports and add style * get_evaluation_submissions returns generator object * get_user_submissions returns generator object * submissionBundle methods return generators * address final todo: implement docker_tag, and note in docs that version_number can be ignored for docker submissions * import -> imports * change back to import. patch uses synapse logger instance. * lock mkdocstrings-python to >=2.0.0 * add Return description to create_submission * [SYNPY-1714] Fix Issues with Failing Tests (#1287) * always log warning * check assert called with * patch object on class instance * Revert "always log warning" This reverts commit ae63c81. * update patch target * re-add erroneously removed line * no need to build out Annotations object from scratch (remove evaluation_id attribute) * remove Dict, List imports * fix broken tests due to removed evaluation_id attr * style * import classes directly from typing. remove Dict and List. * style * add API reference links to _fetch_latest_entity * type hint should be logging.Logger instance (generic or Synapse client) * explicit import to follow the other imports * import order * minimize indenting by using if not: * raise ValueError(no etag for entity) sooner * remove docker submission async integration test * link Jira ticket to TODO item * remove old cancel submission test * remove old cancel submission test (async) * assert the SubmissionStatus object has not changed * valueError(msg) from e * ValueError -> LookupError * add evaluation_round_id and explicit optional_fields dict for organization * loop over optionalfields for SubmissionStatus * new global var: POSSIBLE_STATUSES * same for sync * remove validation using response * style * correctly pass synapse_client instance * use prior synapse_client instance. LookupError message --------- Co-authored-by: SageGJ <[email protected]> * [SYNPY-1590] Implement documentation of Submission(+Status, +Bundle) OOP model (#1252) * tdd initial tests * initial intro of dataclasses * expose api services for submission object * style and update docstring * add submission and submissionstatus models * add submission status retrieval and update methods; remove empty submissionstatus file * pipe query params directly into restAPI httpx requests * new dataclass object submission_bundle * move submission services functions to evaluation_services.py * renaming imports, to_synapse_request, request body refactor * patching up store method signature * update docs * new suite of tests * submissionstatus rework as a mutable object * bug fix for Statuses: updated to_synapse_request to follow same pattern as evaluations design * replace != with is not for full object comparison (not just keys) * expose the is_private arg for to_submission_status_annotations ONLY FOR submission annotations * fixed submission status/submission annotations * add support for legacy annotations * remove debug prints * get_all_submission_statuses now returns a list of substat objects * docstring updates * update submissionbundle docstrings, add more examples * initial sync test for status. moved evaluation_id retrieval to fill_from_dict for submissionstatus calls * update submissionBundle submissionstatus with evaluation_id * patch sync substatus integ tests. style. * fix submissionStatus integ tests and has_changed attribute * new substatus async integ tests. can_cancel can now be modified by an organizer on the client. cancel request returns no response body. * new test class for submission cancel functionality * substatus async unit tests * remove compare=false for some attributes. update sync unit tests * add submissionBundle integration tests * add submissionBundle unit tests * remove unnecessary imports and add style * get_evaluation_submissions returns generator object * get_user_submissions returns generator object * submissionBundle methods return generators * address final todo: implement docker_tag, and note in docs that version_number can be ignored for docker submissions * add async page in api references * add initial submission, status, bundle docs * updated tutorial purpose. add api reference to navbar * new tutorial scripts * remove try/excepts. add line references. add resources and source code sections. * add reference to File model * deprecate old submission model * style * add submission status and bundle to references * no need to import Submission for submission_organizer tutorial * status should be CLOSED not CANCELLED. add Submission import back (its for the delete step). * set tutorial global vars to None * fix line references * remove limits * add 2 more examples for Submission docstring * use the same evaluation_id in all examples * elaborate on submissions, statuses, bundles, and their relationship to evaluations * remove AcessControllable from being inherited * use entity_services to retrieve entity_info * add global var: DOCKER_REPOSITORY * refactor: new _get_latest_docker_tag method, and new docker_commit_services.py * update unit tests following refactor. replace async tests. * reframe etag comment --------- Co-authored-by: SageGJ <[email protected]>
* remove test cases for rest_get_paginated_async
* add docker_commit_services and get_docker_tag to init
…s them, and removing param passing to several submission related APIs which do not support it (#1305) * Patching the async generator to return results as it gets them, and removing param passing to several submission related APIs which do not support it --------- Co-authored-by: Jenny Medina <[email protected]>
* Adding in test isolation for wiki tests * Adding some sleep statements for the tests
BryanFauble
approved these changes
Jan 13, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem:
Release python client v4.11.0