Skip to content

Commit

Permalink
Make include_in_inventory_report in OPDSImporterSettings optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbernstein committed Mar 21, 2024
1 parent 54dbf06 commit c71f4d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/opds_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,15 @@ class OPDSImporterSettings(
form=ConfigurationFormItem(label=_("Data source name"), required=True)
)

include_in_inventory_report: str = FormField(
include_in_inventory_report: str | None = FormField(
form=ConfigurationFormItem(
label=_("Include in inventory report?"),
type=ConfigurationFormItemType.SELECT,
options={
"yes": "(Default) Yes",
"no": "No",
},
required=True,
required=False,
)
)

Expand Down

0 comments on commit c71f4d9

Please sign in to comment.