Spaces:
Build error
Build error
Update app.py
Browse files372 unmodified lines373374375376377378372 unmodified linesreturn "warehouse name not found"data = make_api_request(apis[0]["url"], apis[0]["params"])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)372 unmodified lines373374375376377378379372 unmodified linesreturn "warehouse name not found"data = make_api_request(apis[0]["url"], apis[0]["params"])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)
app.py+1