AllenNeuralDynamics / AllenNeuralDynamics/aind-data-migration-utils

List index error caused by responses != batch

Aperta
#14 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

_upsert_batch_full_run needs to be fixed. Instead of doing it this way we should just upsert the entire list and then match up the responses based on the actual response we get back from the upsert list. The responses should include the _id of successful records that get migrated and then we can get the name back from somewhere else.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.