fix: secret_manager has no real default value
This commit is contained in:
parent
6d24fc5b8c
commit
0a31787d63
67 changed files with 9 additions and 8 deletions
|
|
@ -1,7 +1,7 @@
|
|||
"""
|
||||
Silique (https://www.silique.fr)
|
||||
Copyright (C) 2022-2026
|
||||
|
||||
|
||||
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
|
||||
Free Software Foundation, either version 3 of the License, or (at your
|
||||
|
|
@ -289,8 +289,9 @@ class Node:
|
|||
else:
|
||||
true_default = is_default and meta_option.owner.get() == default_owner
|
||||
added = not is_default or true_default
|
||||
secret_manager = option.information.get('secret_manager', False)
|
||||
while True:
|
||||
if values and true_default and value in [None, []]:
|
||||
if values and true_default and (value in [None, []] or secret_manager):
|
||||
break
|
||||
if isinstance(value, list):
|
||||
value = [self.convert_value(meta_option, val) for val in value]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
> [!CAUTION]
|
||||
>
|
||||
> - 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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
> [!CAUTION]
|
||||
>
|
||||
> - 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
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
[1;91m🛑 Caution[0m
|
||||
[91m┣━━ [0mcannot load variable path "dynVal3.val", the identifier "Val3" is not valid in fake user data
|
||||
[91m┗━━ [0mvariable or family "dynVal3" does not exist, it has been loading from fake user data
|
||||
[91m┗━━ [0mvariable or family "dynVal3" does not exist so cannot load "dynVal3.val, it has been loading from fake user data
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
> [!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 -]
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
> [!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>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
[1;91m🛑 Caution[0m
|
||||
[91m┗━━ [0mvariable or family "dyn{{ identifier }}.var" does not exist, it has been loading from fake user data
|
||||
[91m┗━━ [0mA dynamic with val2: [91m🛑 variable or family "var" does not exist so cannot load "dyn{{ identifier }}.var, it has been loading from fake user data[0m
|
||||
|
|
|
|||
Loading…
Reference in a new issue