[add] fixed backend data

This commit is contained in:
caliskan committed 2023-08-14 20:52:07 +02:00
1 parent 2c065573a5
commit 90235a73f1
6 files changed
+65 -13

No files matched your search

@@ -0,0 +1,12 @@
test_dict = {
"PlantData": [ {"PlantID":1, "Test": 0}, {"PlantID": 2, "Test": 0}],
"ActionID": "SUIIII"
}
plant_ids = []
for i in test_dict["PlantData"]:
plant_ids.append(i["PlantID"])
print(plant_ids)