Commit Graph
10 Commits
Author SHA1 Message Date
John Davis 6f47682a39 Remove transaction helper from test.unit.data 2025-01-23 11:39:24 -05:00
mvdbeek 7566674baa Fix type annotation resulting from annotating HDCA.collection 2025-01-10 23:37:10 +02:00
Nicola Soranzo f7c5769ca5 Always validate hashes when provided
Currently when uploading datasets with associated hashes, this were
only validated if `validate_hashes=True` was also passed in the
request.

This commit drops `validate_hashes` completely and always validates
hashes when they were provided.
2024-11-05 23:21:51 +00:00
John Chilton 93f2af6a44 Allow dataset and source checksum validation during materialization. 2024-09-30 13:25:02 -04:00
John Davis f1579e13de Fix typing error: use Session instead of scoped_session
No need to pass around scoped_session as arguments
2024-04-02 10:08:53 -04:00
John Davis e54a2ec897 Fix SA2.0 syntax (query->select) in unit tests
Includes multiple upgrades to syntax.
Ref: https://docs.sqlalchemy.org/en/20/changelog/migration_20.html#migration-orm-usage
2023-07-21 13:04:22 -04:00
John Davis e711a18f5b Wrap session.flush in test.unit.data.test_dataset_materialization 2023-06-09 13:05:26 -04:00
Nicola Soranzo 64af46c4ae Fix new B018 errors raised by ruff 0.0.260 2023-04-13 16:53:01 +01:00
Nicola Soranzo d8f123f647 Code cleanups from pyupgrade
Found by running:

```
ack --type=python -f | grep -v '^tools/' | xargs pyupgrade --py37-plus
```
2022-07-12 13:40:36 +01:00
John Chilton c5bf63bc91 Add DEFERRED datasets to Galaxy
- Improves options and display around discarded datasets.
- Adds new APIs for importing model stores.
- Adds support to model store layer for importing/exporting workflow invocations and APIs and tests to support this.
- Add new DEFERRED dataset state - with APIs for materializing them or the option to defer them on the worker node if using tool_evaluation_strategy=remote on the job destination.
- UI and API options for uploading deferred datasets individually or into collections.
2022-05-23 19:48:47 -04:00