AllenNeuralDynamics / AllenNeuralDynamics/aind-data-migration-utils

List index error caused by responses != batch

Offen
#14 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
0
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

_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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.