lasp / lasp/latis-python-client
Define Catalog with actual Datasets
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Instead of datasets being a dictionary of id and title, let's just make it a list of Datasets. (Some day we can also add nested Catalogs.) For the purpose of a convenient view, we can define __str__ on Dataset and/or Catalog to present the id and title.
Dataset is currently constructed with Metadata which eagerly reads dataset metadata from LaTiS. This is not always cheap in latis2. We can get around this by making metadata a function on Dataset so the call is made only if a user specifically asks for it. Some day, we may integrate the dataset metadata with the catalog and this problem will go away. In the mean time, we probably want at least the id and title to be members of a Dataset. We can discuss the naming and whether to use name.
We may want to review the behavior of search in another ticket, but it could use the Dataset.title for now.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
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.
Direzione di ricerca
Inizia individuando le definizioni di Dataset, Catalog e Metadata, quindi esamina come la ricerca utilizza attualmente i dataset. Determina come Catalog dovrebbe memorizzare gli oggetti Dataset, come sia possibile rimandare l'accesso ai metadati e se id o name sia il membro appropriato. Il lavoro è completato quando la rappresentazione concordata supporta id e title, mantiene una visualizzazione comoda e lascia il comportamento della ricerca deciso esplicitamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- api
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100