Skip to content

Commit

Permalink
resources: make search request args class configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
zzacharo committed Oct 20, 2023
1 parent a0606ef commit 3592771
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion invenio_rdm_records/resources/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ class RDMRecordResourceConfig(RecordResourceConfig, ConfiguratorMixin):
),
}

request_search_args = RDMSearchRequestArgsSchema
request_search_args = FromConfig(
"RDM_SEARCH_ARGS_SCHEMA", default=RDMSearchRequestArgsSchema
)

response_handlers = FromConfig(
"RDM_RECORDS_SERIALIZERS",
Expand Down

0 comments on commit 3592771

Please sign in to comment.