From cd5a3321faae0edbeff70e0a16a781a0d8a2c4aa Mon Sep 17 00:00:00 2001 From: Levko Ivanchuk Date: Thu, 7 Nov 2024 14:08:58 +0200 Subject: [PATCH] Update config_file.py Fixing a typo in ALLOWED_CONFIG_KEYS set --- language_tool_python/config_file.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/language_tool_python/config_file.py b/language_tool_python/config_file.py index 4fa6875..7bc8bc0 100644 --- a/language_tool_python/config_file.py +++ b/language_tool_python/config_file.py @@ -9,7 +9,7 @@ 'maxSpellingSuggestions', 'maxCheckThreads', 'cacheSize', 'cacheTTLSeconds', 'cacheSize', 'requestLimit', 'requestLimitInBytes', 'timeoutRequestLimit', 'requestLimitPeriodInSeconds', 'languageModel', 'word2vecModel', 'fasttextModel', 'fasttextBinary', 'maxWorkQueueSize', 'rulesFile', 'warmUp', - 'blockedReferrers' 'premiumOnly', 'disabledRuleIds', 'pipelineCaching', 'maxPipelinePoolSize', + 'blockedReferrers', 'premiumOnly', 'disabledRuleIds', 'pipelineCaching', 'maxPipelinePoolSize', 'pipelineCaching', 'pipelineExpireTimeInSeconds', 'pipelinePrewarming' } class LanguageToolConfig: @@ -93,4 +93,4 @@ def _create_temp_file(self) -> str: --word2vecModel a directory with word2vec data (optional), see https://github.com/languagetool-org/languagetool/blob/master/languagetool-standalone/CHANGES.md#word2vec --premiumAlways activate the premium rules even when user has no username/password - useful for API servers -""" \ No newline at end of file +"""