Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jessemortenson committed Jan 27, 2024
1 parent ac23cb2 commit cedeed7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/bills.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 6 additions & 2 deletions api/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cedeed7

Please sign in to comment.