Machine-readable output for getting lab hours

Aperta
#452 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
28/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
django, python
Ambito
api, backend

Direzione di ricerca

The issue asks for a machine-readable form of lab hours, which the API currently returns as a string like "11:00:00". Start from the lab hours API in this Django project and the linked labmap pull request comment for the consumer's needs. The issue does not settle the output format or the endpoint shape, so agree on those with maintainers first. Done means a documented structured response that labmap can use without parsing strings.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

good first issue

The lab hours API returns hours as a string ("11:00:00") which is annoying to parse, especially in Javascript (for the labmap). We should perhaps write a new function that does this split for us. See https://github.com/ocf/labmap/pull/4#issuecomment-456689205

Lingua principale
Python
Stelle
46
Fork
106
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ocf/ocfweb

Tutte le issue di ocf/ocfweb

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.