Spaces:
Build error
Build error
Update app.py
Browse files375 unmodified lines376377378379379380381382375 unmodified lines print(data) if data: # Extracting the id for the warehouse with the name "WH" warehouse_id = next((item['id'] for item in data['result'] if item['name'] == warehouse_name), None) warehouse_id = next((item['id'] for item in data['result'] if item['wareHouseId'] == warehouse_name), None) #print(warehouse_id) if (warehouse_id): app.py+1-1