From cedeed730f96e4cd675585cc43a51cc0531a4b12 Mon Sep 17 00:00:00 2001 From: Jesse Mortenson Date: Fri, 26 Jan 2024 18:18:35 -0600 Subject: [PATCH] Fix linting --- api/bills.py | 2 +- api/schemas.py | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/api/bills.py b/api/bills.py index 259809d..9723792 100644 --- a/api/bills.py +++ b/api/bills.py @@ -49,7 +49,7 @@ class BillPagination(Pagination): "votes.sources", "votes.votes.voter", ], - BillInclude.actions: ["actions.related_entities"] + BillInclude.actions: ["actions.related_entities"], } max_per_page = 20 diff --git a/api/schemas.py b/api/schemas.py index 27bf136..37064d3 100644 --- a/api/schemas.py +++ b/api/schemas.py @@ -280,8 +280,12 @@ class Config: class BillDocumentLink(BaseModel): url: str = Field(..., example="https://example.com/doc.pdf") media_type: str = Field(..., example="application/pdf") - organization_id: str = Field(..., example="ocd-organization/fce467b7-470b-41c2-be23-0ed00804b512") - person_id: str = Field(..., example="ocd-person/5a327e3b-ae91-4279-ae17-9214aad32fa9") + organization_id: str = Field( + ..., example="ocd-organization/fce467b7-470b-41c2-be23-0ed00804b512" + ) + person_id: str = Field( + ..., example="ocd-person/5a327e3b-ae91-4279-ae17-9214aad32fa9" + ) class Config: orm_mode = True