|
|
|
@ -130,9 +130,9 @@ async def get_aeros_equipment_by_location_tag(*, location_tag: Union[str, List[s
|
|
|
|
json=aerosNodeReq,
|
|
|
|
json=aerosNodeReq,
|
|
|
|
headers={"Content-Type": "application/json"},
|
|
|
|
headers={"Content-Type": "application/json"},
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
response.raise_for_status()
|
|
|
|
aerosEquipmentData = response.json()
|
|
|
|
aerosEquipmentData = response.json()
|
|
|
|
|
|
|
|
|
|
|
|
raise Exception(aerosEquipmentData)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if not aerosEquipmentData:
|
|
|
|
if not aerosEquipmentData:
|
|
|
|
raise HTTPException(
|
|
|
|
raise HTTPException(
|
|
|
|
|