Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Feedback of ignored values in POST requests #7

Open
dmlls opened this issue Apr 7, 2021 · 0 comments
Open

Feedback of ignored values in POST requests #7

dmlls opened this issue Apr 7, 2021 · 0 comments
Assignees
Labels
feature New feature or request

Comments

@dmlls
Copy link
Member

dmlls commented Apr 7, 2021

Right now, if the API receives an attribute that is not expected, e.g. "linguistic_register", it will simply ignore it. However, the user receives no feedback of this. The only way they can now is by checking the summarization parameters returned in the API response.

Expected feature: implement feedback of ignored attributes in POST calls. This feedback should contain the reason why a certain attribute was ignored, e.g.:

  • "The attribute 'linguistic_register' is not recognized. It will be ignored.", or
  • "The attribute 'relative_min_length' takes float values between 0.0 and 1.0. Value provided: 66.6. A default value will be used.".
@dmlls dmlls added the feature New feature or request label Apr 7, 2021
@dmlls dmlls self-assigned this Apr 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant