Compare commits

..

3 commits

69 changed files with 17 additions and 9 deletions

View file

@ -1,3 +1,10 @@
## 0.2.0a29 (2026-01-21)
### Fix
- update tests
- secret_manager has no real default value
## 0.2.0a28 (2026-01-16) ## 0.2.0a28 (2026-01-16)
### Fix ### Fix

View file

@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
[project] [project]
name = "rougail.output_display" name = "rougail.output_display"
version = "0.2.0a28" version = "0.2.0a29"
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}] authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
readme = "README.md" readme = "README.md"
description = "Rougail output display" description = "Rougail output display"

View file

@ -1,7 +1,7 @@
""" """
Silique (https://www.silique.fr) Silique (https://www.silique.fr)
Copyright (C) 2022-2026 Copyright (C) 2022-2026
This program is free software: you can redistribute it and/or modify it This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your Free Software Foundation, either version 3 of the License, or (at your
@ -289,8 +289,9 @@ class Node:
else: else:
true_default = is_default and meta_option.owner.get() == default_owner true_default = is_default and meta_option.owner.get() == default_owner
added = not is_default or true_default added = not is_default or true_default
secret_manager = option.information.get('secret_manager', False)
while True: while True:
if values and true_default and value in [None, []]: if values and true_default and (value in [None, []] or secret_manager):
break break
if isinstance(value, list): if isinstance(value, list):
value = [self.convert_value(meta_option, val) for val in value] value = [self.convert_value(meta_option, val) for val in value]

View file

@ -1,4 +1,4 @@
> [!CAUTION] > [!CAUTION]
> >
> - cannot load variable path "dynVal3.val", the identifier "Val3" is not valid in fake user data > - cannot load variable path "dynVal3.val", the identifier "Val3" is not valid in fake user data
> - variable or family "dynVal3" does not exist, it has been loading from fake user data > - variable or family "dynVal3" does not exist so cannot load "dynVal3.val", it has been loading from fake user data

View file

@ -1,4 +1,4 @@
> [!CAUTION] > [!CAUTION]
> >
> - cannot load variable path "dynVal3.val", the identifier "Val3" is not valid in fake user data > - cannot load variable path "dynVal3.val", the identifier "Val3" is not valid in fake user data
> - variable or family "dynVal3" does not exist, it has been loading from fake user data > - variable or family "dynVal3" does not exist so cannot load "dynVal3.val", it has been loading from fake user data

View file

@ -1,3 +1,3 @@
🛑 Caution 🛑 Caution
┣━━ cannot load variable path "dynVal3.val", the identifier "Val3" is not valid in fake user data ┣━━ cannot load variable path "dynVal3.val", the identifier "Val3" is not valid in fake user data
┗━━ variable or family "dynVal3" does not exist, it has been loading from fake user data ┗━━ variable or family "dynVal3" does not exist so cannot load "dynVal3.val", it has been loading from fake user data

View file

@ -1,3 +1,3 @@
> [!CAUTION] > [!CAUTION]
> >
> - variable or family "dyn{{ identifier }}.var" does not exist, it has been loading from fake user data > - A dynamic with val2: :stop_sign: [- variable or family "var" does not exist so cannot load "dyn{{ identifier }}.var", it has been loading from fake user data -]

View file

@ -1,3 +1,3 @@
> [!CAUTION] > [!CAUTION]
> >
> - variable or family "dyn{{ identifier }}.var" does not exist, it has been loading from fake user data > - A dynamic with val2: :stop_sign: <span style="color: #C23636">variable or family "var" does not exist so cannot load "dyn{{ identifier }}.var", it has been loading from fake user data</span>

View file

@ -1,2 +1,2 @@
🛑 Caution 🛑 Caution
┗━━ variable or family "dyn{{ identifier }}.var" does not exist, it has been loading from fake user data ┗━━ A dynamic with val2: 🛑 variable or family "var" does not exist so cannot load "dyn{{ identifier }}.var", it has been loading from fake user data