From db69df3b86b69474242001015587c6e192b7a6ac Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sat, 27 Mar 2021 07:44:42 +0100 Subject: [PATCH] external function support in fill --- src/rougail/annotator/fill.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rougail/annotator/fill.py b/src/rougail/annotator/fill.py index 481979de..6d002767 100644 --- a/src/rougail/annotator/fill.py +++ b/src/rougail/annotator/fill.py @@ -47,6 +47,7 @@ class FillAnnotator(TargetAnnotator, ParamAnnotator): not hasattr(self.objectspace.space.constraints, 'fill'): return self.functions = dir(load_modules(eosfunc_file)) + self.functions.extend(self.objectspace.rougailconfig['internal_functions']) self.target_is_uniq = True self.only_variable = True self.allow_function = False