diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2024-10-24 08:13:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-24 08:13:07 +0200 |
commit | f6ad1e23f8f99b3dc7fa10d616921081127c3a2d (patch) | |
tree | cd6a408b8136df5471d4fcbed237b0ede07d94b1 /.github/workflows/unit_tests.yaml | |
parent | a0173a5a9476c6046d41987a53b60d8e24f79ff6 (diff) | |
download | spack-f6ad1e23f8f99b3dc7fa10d616921081127c3a2d.tar.gz spack-f6ad1e23f8f99b3dc7fa10d616921081127c3a2d.tar.bz2 spack-f6ad1e23f8f99b3dc7fa10d616921081127c3a2d.tar.xz spack-f6ad1e23f8f99b3dc7fa10d616921081127c3a2d.zip |
Improve `Database.query*` methods (#47116)
* Add type hints to all query* methods
* Inline docstrings
* Change defaults from `any` to `None` so they can be type hinted in old Python
* Pre-filter on given hashes instead of iterating over all db specs
* Fix a bug where the `--origin` option of uninstall had no effect
* Fix a bug where query args were not applied when searching by concrete spec
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Diffstat (limited to '.github/workflows/unit_tests.yaml')
0 files changed, 0 insertions, 0 deletions