Separate hashstore config from hashstore class
@datadavev ci sta già lavorando.
Dal 31/5/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
The FileHashStore initialization takes a dict of values that must align with existing hashstore properties and/or pass verification tests which are implemented as part of the FileHashStore class. This leads to confused type checking and challenges opening an existing instance since the config must be known to open even though the config is part of the existing hashstore.
Split out the initialization properties to a separate class that verifies the property value type and range.
Enable FileHashStore instantiation with path only, loading the config params from stored config.
Add typehints and checking to reducing parameter type confusion and faciliate range verification.
Remove the spurious parameter checking from FileHashStore to reduce the amount of overloaded implementation.
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DataONEorg/hashstore
-
Enable type checking and fix internal type validationForse di nuovo libera @datadavev l’ha presa 185 giorni fa e non c’è nessuna pull request aperta. Apertabug
DataONEorg/hashstore#157 · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
DataONEorg/hashstore#155 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
DataONEorg/hashstore#154 ·
-
Add support for high volume package structuresForse di nuovo libera @datadavev l’ha presa 363 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
DataONEorg/hashstore#152 · 1 commento · 1 assegnatario ·
-
Switch to uv instead of poetryForse di nuovo libera @datadavev l’ha presa 363 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
DataONEorg/hashstore#150 · 1 assegnatario ·
Tutte le issue di DataONEorg/hashstore
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
nael5x/creative-ai#130 ·
-
Make the "%" unit spacing the same in the web and in A10Forse già presa @kragent66-glitch l’ha presa oggi. Apertabug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
maiychrus25/OpenTea-DX-OS#226 · 1 commento ·
-
ci severity: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
TMHSDigital/Spackle#205 ·
I maintainer di solito rispondono entro 1 giorno
-
pkg:lgm type:chore upstream-gaussx
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
jejjohnson/pyrox#610 ·
I maintainer di solito rispondono entro 1 giorno