Skip to content

Commit 4231e50

Browse files
committed
fix lint
1 parent 9409646 commit 4231e50

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/router/device_plant_router.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ async def update_all_in_device_plant(id_device: str,
4949
status_code=status.HTTP_200_OK,
5050
response_model=List[DevicePlantSchema]
5151
)
52-
async def get_device_plant(req: Request, id_plant: str = Query(None), limit: int = Query(10)):
52+
async def get_device_plant(req: Request,
53+
id_plant: str = Query(None),
54+
limit: int = Query(10)):
5355
if id_plant is None:
5456
return controller.get_all_device_plant_relations(req, limit)
5557
return [controller.get_device_plant_relation(req, id_plant)]

0 commit comments

Comments
 (0)