Commit Graph
29 Commits
Author SHA1 Message Date
Nicola Soranzo 1d9d93ea50 Merge branch 'release_25.0' into dev 2025-08-07 15:54:38 +01:00
Nicola Soranzo 7f89e0eab9 Code cleanups from pyupgrade
Found by running:

```
make pyupgrade
ruff check --fix .
ruff check --preview --unsafe-fixes --select=F401 --fix .
make format
make update-client-api-schema
```

The bulk of the changes are replacements of typing deprecated aliases
such as `Dict` and `List` with the standard library classes. These
aliases became redundant in Python 3.9 when the corresponding
pre-existing classes were enhanced to support `[]`, see
https://docs.python.org/3/library/typing.html#deprecated-aliases

Also:
- Update the `pyupgrade` Makefile target to use `--py38-plus` for the
  packages needed by Pulsar, including the new galaxy-tool-util-models
  package.
2025-07-31 11:17:22 +01:00
John Chilton a2af62966d Fix parameter models for optional color params. 2025-07-30 11:37:12 -04:00
mvdbeek b99112c337 Fix DataCollectionParameterModel factory 2025-05-06 14:23:23 +02:00
John Chilton f37075c1a5 Fix various parameter validation issues.
I previously failed to include a bunch of validation checks I assumed had been covered so fixed that first and got a bunch of new issues detected. Also added a parameter specification test case for https://github.com/galaxyproject/galaxy/issues/19908 and fixed that.
2025-04-02 12:49:09 -04:00
davelopez 2bdcec0dda Add test for gx_allow_uri_if_protocol with deferred collections 2024-11-03 12:47:15 +01:00
davelopez 605389f1f2 Expand documentation on allow_uri_if_protocol 2024-11-03 11:06:25 +01:00
davelopez 678caa415f Add test for allow_uri_if_protocol with deferred input 2024-10-31 11:17:17 +01:00
John Chilton 730ea2ee03 Pydantic models for parameter validators. 2024-10-22 07:49:37 -04:00
John Chilton 951ab47f47 More tool tests. 2024-10-22 07:49:37 -04:00
John Chilton ad73e9e838 Tool Request models. 2024-09-30 13:25:02 -04:00
John Chilton b367c8a5a3 More tests for various data column feature combos. 2024-09-30 13:25:02 -04:00
John Chilton b919f21c47 Parameter models for optional data columns. 2024-08-11 17:19:21 -04:00
John Chilton 67dc43f4e1 Parameter models for multiple=true data column data parameters. 2024-08-11 17:19:21 -04:00
John Chilton c6ea4d3dff More clarification of empty/multiple/optional select behaviors. 2024-08-11 17:19:21 -04:00
John Chilton 95da14738e Parmaeter models for multiple=true group tags. 2024-08-11 17:19:21 -04:00
John Chilton c18bfa3475 Tool parameter models for optional group tags. 2024-08-10 10:30:20 -04:00
John Chilton ed720332b9 Parameter models for directory_uri parameters. 2024-08-09 11:54:19 -04:00
John Chilton aa569ae71b Parameter models for genomebuild parameters 2024-08-09 11:54:19 -04:00
John Chilton 53a1ee520f Update parameter models for required integers. 2024-08-09 11:54:19 -04:00
John Chilton e530227ac6 Implement group tag testing in tools. 2024-08-09 11:54:19 -04:00
John Chilton 27ecea0bfc Address PR comment in gx_select.xml, improve comment. 2024-08-09 11:54:19 -04:00
John Chilton e8e569f820 Work toward data column support in tool parameter meta models. 2024-08-05 18:37:24 -04:00
John Chilton c92f6dd47c Richer typing / models / parsing for drill down parameters. 2024-08-05 17:02:51 -04:00
John Chilton 57f9137861 Progress on repeat validation... 2024-08-05 09:44:43 -04:00
John Chilton 5bb6804045 Parameter specification reference testing - conditionals with selects. 2024-08-05 09:44:43 -04:00
John Chilton b27d6331d4 Clarify current select behavior around null and empty selections. 2024-08-05 09:44:43 -04:00
John Chilton e1fc41606f Bug fix for invalid duplicate id in function test tools. 2024-08-04 20:57:12 -04:00
John Chilton 5359f8ba74 Input parameter schema. 2024-07-15 09:46:13 -04:00