Per-project automatic suggestion configuration via API #11926
Labels
backlog
This is not on the Weblate roadmap for now. Can be prioritized by sponsorship.
enhancement
Adding or requesting a new feature.
Describe the problem
Per-project automatic suggestion configuration is stored in a Project model:
weblate/weblate/trans/models/project.py
Line 219 in 32462c2
There is currently no way to configure this via the API.
Describe the solution you would like
Add
machinery_settings
field to the project API including validation of the settings.Describe alternatives you have considered
No response
Screenshots
No response
Additional context
The per-service validation is already implemented in https://github.com/WeblateOrg/weblate/blob/main/weblate/machinery/management/commands/install_machinery.py and the implementation should be shared, so it needs to be factored out from there (perhaps to the Project model) and used for both command line and API.
The text was updated successfully, but these errors were encountered: