Spaces:
Build error
Build error
Update app.py
Browse files375 unmodified lines376377378379380381382375 unmodified linesprint(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)#print(warehouse_id)if (warehouse_id):375 unmodified lines376377378379380381382375 unmodified linesprint(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['wareHouseId'] == warehouse_name), None)#print(warehouse_id)if (warehouse_id):
app.py+1-1