document dict with option's information

This commit is contained in:
egarette@silique.fr 2023-06-30 08:43:14 +02:00
parent 697bf0ee02
commit df7f33e786

View file

@ -107,7 +107,7 @@ class ParamAnnotator:
msg = _(f'function "{param.text}" must only set has first parameter') msg = _(f'function "{param.text}" must only set has first parameter')
raise DictConsistencyError(msg, 75, param.xmlfiles) raise DictConsistencyError(msg, 75, param.xmlfiles)
elif param.type == 'information': elif param.type == 'information':
if hasattr(param, 'variable'): if not self.objectspace.just_doc and hasattr(param, 'variable'):
try: try:
param.variable = self.objectspace.paths.get_family(param.variable, param.variable = self.objectspace.paths.get_family(param.variable,
current_namespace=obj.namespace, current_namespace=obj.namespace,