diff --git a/src/rougail/output_display/display.py b/src/rougail/output_display/display.py index 6d991009..a639c754 100644 --- a/src/rougail/output_display/display.py +++ b/src/rougail/output_display/display.py @@ -20,7 +20,7 @@ from typing import Optional, Any from ruamel.yaml import YAML from io import BytesIO -from tiramisu.error import PropertiesOptionError, LeadershipError, ConfigError +from tiramisu.error import PropertiesOptionError, LeadershipError, ConfigError, AttributeOptionError from tiramisu import owners, groups from .config import OutPuts @@ -270,6 +270,8 @@ class Node: is_default = meta_option.owner.isdefault() except LeadershipError: break + except AttributeOptionError: + break try: value = meta_option.value.get() except ValueError as err: diff --git a/src/rougail/output_display/output/__pycache__/console.cpython-314.pyc b/src/rougail/output_display/output/__pycache__/console.cpython-314.pyc deleted file mode 100644 index b9b41904..00000000 Binary files a/src/rougail/output_display/output/__pycache__/console.cpython-314.pyc and /dev/null differ diff --git a/tests/results/test/00_9default_calculation.gitlab.md b/tests/results/test/00_9default_calculation.gitlab.md index 39c88fc8..6bcc1215 100644 --- a/tests/results/test/00_9default_calculation.gitlab.md +++ b/tests/results/test/00_9default_calculation.gitlab.md @@ -5,4 +5,4 @@ > - (:hourglass_flowing_sand: Original default value) Variables: -- :notebook: a variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_) +- :notebook: a variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_None) diff --git a/tests/results/test/00_9default_calculation.md b/tests/results/test/00_9default_calculation.md index 7c1f3012..b72db03a 100644 --- a/tests/results/test/00_9default_calculation.md +++ b/tests/results/test/00_9default_calculation.md @@ -6,4 +6,4 @@ > - (:hourglass_flowing_sand: Original default value) Variables: -- :notebook: a variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_) +- :notebook: a variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_None) diff --git a/tests/results/test/00_9default_calculation.sh b/tests/results/test/00_9default_calculation.sh index c6ef6ceb..2459887b 100644 --- a/tests/results/test/00_9default_calculation.sh +++ b/tests/results/test/00_9default_calculation.sh @@ -3,4 +3,4 @@ │ (⏳ Original default value) │ ╰──────────────────────────────────────╯ Variables: -┗━━ 📓 a variable: string1 ◀ loaded from rougail-test (⏳ string_1_True_) +┗━━ 📓 a variable: string1 ◀ loaded from rougail-test (⏳ string_1_True_None) diff --git a/tests/results/test_namespace/00_9default_calculation.gitlab.md b/tests/results/test_namespace/00_9default_calculation.gitlab.md index 79eca35c..b7fb79e4 100644 --- a/tests/results/test_namespace/00_9default_calculation.gitlab.md +++ b/tests/results/test_namespace/00_9default_calculation.gitlab.md @@ -6,4 +6,4 @@ Variables: - :open_file_folder: Rougail - - :notebook: a variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_) + - :notebook: a variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_None) diff --git a/tests/results/test_namespace/00_9default_calculation.md b/tests/results/test_namespace/00_9default_calculation.md index 12e54e33..301e599a 100644 --- a/tests/results/test_namespace/00_9default_calculation.md +++ b/tests/results/test_namespace/00_9default_calculation.md @@ -7,4 +7,4 @@ Variables: - :open_file_folder: Rougail - - :notebook: a variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_) + - :notebook: a variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_None) diff --git a/tests/results/test_namespace/00_9default_calculation.sh b/tests/results/test_namespace/00_9default_calculation.sh index 6ba63ff2..072fd632 100644 --- a/tests/results/test_namespace/00_9default_calculation.sh +++ b/tests/results/test_namespace/00_9default_calculation.sh @@ -4,4 +4,4 @@ ╰──────────────────────────────────────╯ Variables: ┗━━ 📂 Rougail - ┗━━ 📓 a variable: string1 ◀ loaded from rougail-test (⏳ string_1_True_) + ┗━━ 📓 a variable: string1 ◀ loaded from rougail-test (⏳ string_1_True_None) diff --git a/tests/results/test_namespace_read_write/00_9default_calculation.gitlab.md b/tests/results/test_namespace_read_write/00_9default_calculation.gitlab.md index 79eca35c..b7fb79e4 100644 --- a/tests/results/test_namespace_read_write/00_9default_calculation.gitlab.md +++ b/tests/results/test_namespace_read_write/00_9default_calculation.gitlab.md @@ -6,4 +6,4 @@ Variables: - :open_file_folder: Rougail - - :notebook: a variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_) + - :notebook: a variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_None) diff --git a/tests/results/test_namespace_read_write/00_9default_calculation.md b/tests/results/test_namespace_read_write/00_9default_calculation.md index 12e54e33..301e599a 100644 --- a/tests/results/test_namespace_read_write/00_9default_calculation.md +++ b/tests/results/test_namespace_read_write/00_9default_calculation.md @@ -7,4 +7,4 @@ Variables: - :open_file_folder: Rougail - - :notebook: a variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_) + - :notebook: a variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_None) diff --git a/tests/results/test_namespace_read_write/00_9default_calculation.sh b/tests/results/test_namespace_read_write/00_9default_calculation.sh index 6ba63ff2..072fd632 100644 --- a/tests/results/test_namespace_read_write/00_9default_calculation.sh +++ b/tests/results/test_namespace_read_write/00_9default_calculation.sh @@ -4,4 +4,4 @@ ╰──────────────────────────────────────╯ Variables: ┗━━ 📂 Rougail - ┗━━ 📓 a variable: string1 ◀ loaded from rougail-test (⏳ string_1_True_) + ┗━━ 📓 a variable: string1 ◀ loaded from rougail-test (⏳ string_1_True_None) diff --git a/tests/results/test_namespace_read_write_errors/00_9default_calculation.gitlab.md b/tests/results/test_namespace_read_write_errors/00_9default_calculation.gitlab.md index e74bec55..fadcb6eb 100644 --- a/tests/results/test_namespace_read_write_errors/00_9default_calculation.gitlab.md +++ b/tests/results/test_namespace_read_write_errors/00_9default_calculation.gitlab.md @@ -5,4 +5,4 @@ Variables: - :open_file_folder: Rougail - - :notebook: a variable: [+ string_1_True_ +] + - :notebook: a variable: [+ string_1_True_None +] diff --git a/tests/results/test_namespace_read_write_errors/00_9default_calculation.md b/tests/results/test_namespace_read_write_errors/00_9default_calculation.md index 49979d27..f80c9b2d 100644 --- a/tests/results/test_namespace_read_write_errors/00_9default_calculation.md +++ b/tests/results/test_namespace_read_write_errors/00_9default_calculation.md @@ -6,4 +6,4 @@ Variables: - :open_file_folder: Rougail - - :notebook: a variable: string_1_True_ + - :notebook: a variable: string_1_True_None diff --git a/tests/results/test_namespace_read_write_errors/00_9default_calculation.sh b/tests/results/test_namespace_read_write_errors/00_9default_calculation.sh index b42f5716..6b06bd44 100644 --- a/tests/results/test_namespace_read_write_errors/00_9default_calculation.sh +++ b/tests/results/test_namespace_read_write_errors/00_9default_calculation.sh @@ -3,4 +3,4 @@ ╰────────────────────────╯ Variables: ┗━━ 📂 Rougail - ┗━━ 📓 a variable: string_1_True_ + ┗━━ 📓 a variable: string_1_True_None diff --git a/tests/results/test_namespace_read_write_secrets/00_9default_calculation.gitlab.md b/tests/results/test_namespace_read_write_secrets/00_9default_calculation.gitlab.md index 79eca35c..b7fb79e4 100644 --- a/tests/results/test_namespace_read_write_secrets/00_9default_calculation.gitlab.md +++ b/tests/results/test_namespace_read_write_secrets/00_9default_calculation.gitlab.md @@ -6,4 +6,4 @@ Variables: - :open_file_folder: Rougail - - :notebook: a variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_) + - :notebook: a variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_None) diff --git a/tests/results/test_namespace_read_write_secrets/00_9default_calculation.md b/tests/results/test_namespace_read_write_secrets/00_9default_calculation.md index 12e54e33..301e599a 100644 --- a/tests/results/test_namespace_read_write_secrets/00_9default_calculation.md +++ b/tests/results/test_namespace_read_write_secrets/00_9default_calculation.md @@ -7,4 +7,4 @@ Variables: - :open_file_folder: Rougail - - :notebook: a variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_) + - :notebook: a variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_None) diff --git a/tests/results/test_namespace_read_write_secrets/00_9default_calculation.sh b/tests/results/test_namespace_read_write_secrets/00_9default_calculation.sh index 6ba63ff2..072fd632 100644 --- a/tests/results/test_namespace_read_write_secrets/00_9default_calculation.sh +++ b/tests/results/test_namespace_read_write_secrets/00_9default_calculation.sh @@ -4,4 +4,4 @@ ╰──────────────────────────────────────╯ Variables: ┗━━ 📂 Rougail - ┗━━ 📓 a variable: string1 ◀ loaded from rougail-test (⏳ string_1_True_) + ┗━━ 📓 a variable: string1 ◀ loaded from rougail-test (⏳ string_1_True_None) diff --git a/tests/results/test_namespace_read_write_secrets_errors/00_9default_calculation.gitlab.md b/tests/results/test_namespace_read_write_secrets_errors/00_9default_calculation.gitlab.md index e74bec55..fadcb6eb 100644 --- a/tests/results/test_namespace_read_write_secrets_errors/00_9default_calculation.gitlab.md +++ b/tests/results/test_namespace_read_write_secrets_errors/00_9default_calculation.gitlab.md @@ -5,4 +5,4 @@ Variables: - :open_file_folder: Rougail - - :notebook: a variable: [+ string_1_True_ +] + - :notebook: a variable: [+ string_1_True_None +] diff --git a/tests/results/test_namespace_read_write_secrets_errors/00_9default_calculation.md b/tests/results/test_namespace_read_write_secrets_errors/00_9default_calculation.md index 49979d27..f80c9b2d 100644 --- a/tests/results/test_namespace_read_write_secrets_errors/00_9default_calculation.md +++ b/tests/results/test_namespace_read_write_secrets_errors/00_9default_calculation.md @@ -6,4 +6,4 @@ Variables: - :open_file_folder: Rougail - - :notebook: a variable: string_1_True_ + - :notebook: a variable: string_1_True_None diff --git a/tests/results/test_namespace_read_write_secrets_errors/00_9default_calculation.sh b/tests/results/test_namespace_read_write_secrets_errors/00_9default_calculation.sh index b42f5716..6b06bd44 100644 --- a/tests/results/test_namespace_read_write_secrets_errors/00_9default_calculation.sh +++ b/tests/results/test_namespace_read_write_secrets_errors/00_9default_calculation.sh @@ -3,4 +3,4 @@ ╰────────────────────────╯ Variables: ┗━━ 📂 Rougail - ┗━━ 📓 a variable: string_1_True_ + ┗━━ 📓 a variable: string_1_True_None diff --git a/tests/results/test_namespace_secrets/00_9default_calculation.gitlab.md b/tests/results/test_namespace_secrets/00_9default_calculation.gitlab.md index 79eca35c..b7fb79e4 100644 --- a/tests/results/test_namespace_secrets/00_9default_calculation.gitlab.md +++ b/tests/results/test_namespace_secrets/00_9default_calculation.gitlab.md @@ -6,4 +6,4 @@ Variables: - :open_file_folder: Rougail - - :notebook: a variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_) + - :notebook: a variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_None) diff --git a/tests/results/test_namespace_secrets/00_9default_calculation.md b/tests/results/test_namespace_secrets/00_9default_calculation.md index 12e54e33..301e599a 100644 --- a/tests/results/test_namespace_secrets/00_9default_calculation.md +++ b/tests/results/test_namespace_secrets/00_9default_calculation.md @@ -7,4 +7,4 @@ Variables: - :open_file_folder: Rougail - - :notebook: a variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_) + - :notebook: a variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_None) diff --git a/tests/results/test_namespace_secrets/00_9default_calculation.sh b/tests/results/test_namespace_secrets/00_9default_calculation.sh index 6ba63ff2..072fd632 100644 --- a/tests/results/test_namespace_secrets/00_9default_calculation.sh +++ b/tests/results/test_namespace_secrets/00_9default_calculation.sh @@ -4,4 +4,4 @@ ╰──────────────────────────────────────╯ Variables: ┗━━ 📂 Rougail - ┗━━ 📓 a variable: string1 ◀ loaded from rougail-test (⏳ string_1_True_) + ┗━━ 📓 a variable: string1 ◀ loaded from rougail-test (⏳ string_1_True_None) diff --git a/tests/results/test_read_write/00_9default_calculation.gitlab.md b/tests/results/test_read_write/00_9default_calculation.gitlab.md index 39c88fc8..6bcc1215 100644 --- a/tests/results/test_read_write/00_9default_calculation.gitlab.md +++ b/tests/results/test_read_write/00_9default_calculation.gitlab.md @@ -5,4 +5,4 @@ > - (:hourglass_flowing_sand: Original default value) Variables: -- :notebook: a variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_) +- :notebook: a variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_None) diff --git a/tests/results/test_read_write/00_9default_calculation.md b/tests/results/test_read_write/00_9default_calculation.md index 7c1f3012..b72db03a 100644 --- a/tests/results/test_read_write/00_9default_calculation.md +++ b/tests/results/test_read_write/00_9default_calculation.md @@ -6,4 +6,4 @@ > - (:hourglass_flowing_sand: Original default value) Variables: -- :notebook: a variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_) +- :notebook: a variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_None) diff --git a/tests/results/test_read_write/00_9default_calculation.sh b/tests/results/test_read_write/00_9default_calculation.sh index c6ef6ceb..2459887b 100644 --- a/tests/results/test_read_write/00_9default_calculation.sh +++ b/tests/results/test_read_write/00_9default_calculation.sh @@ -3,4 +3,4 @@ │ (⏳ Original default value) │ ╰──────────────────────────────────────╯ Variables: -┗━━ 📓 a variable: string1 ◀ loaded from rougail-test (⏳ string_1_True_) +┗━━ 📓 a variable: string1 ◀ loaded from rougail-test (⏳ string_1_True_None) diff --git a/tests/results/test_read_write_errors/00_9default_calculation.gitlab.md b/tests/results/test_read_write_errors/00_9default_calculation.gitlab.md index 36296569..533a4e92 100644 --- a/tests/results/test_read_write_errors/00_9default_calculation.gitlab.md +++ b/tests/results/test_read_write_errors/00_9default_calculation.gitlab.md @@ -4,4 +4,4 @@ > - [+ Default value +] Variables: -- :notebook: a variable: [+ string_1_True_ +] +- :notebook: a variable: [+ string_1_True_None +] diff --git a/tests/results/test_read_write_errors/00_9default_calculation.md b/tests/results/test_read_write_errors/00_9default_calculation.md index d8be83dc..bd46e31b 100644 --- a/tests/results/test_read_write_errors/00_9default_calculation.md +++ b/tests/results/test_read_write_errors/00_9default_calculation.md @@ -5,4 +5,4 @@ > - Default value Variables: -- :notebook: a variable: string_1_True_ +- :notebook: a variable: string_1_True_None diff --git a/tests/results/test_read_write_errors/00_9default_calculation.sh b/tests/results/test_read_write_errors/00_9default_calculation.sh index 0825a0b2..5870154c 100644 --- a/tests/results/test_read_write_errors/00_9default_calculation.sh +++ b/tests/results/test_read_write_errors/00_9default_calculation.sh @@ -2,4 +2,4 @@ │ Variable Default value │ ╰────────────────────────╯ Variables: -┗━━ 📓 a variable: string_1_True_ +┗━━ 📓 a variable: string_1_True_None diff --git a/tests/results/test_read_write_secrets/00_9default_calculation.gitlab.md b/tests/results/test_read_write_secrets/00_9default_calculation.gitlab.md index 39c88fc8..6bcc1215 100644 --- a/tests/results/test_read_write_secrets/00_9default_calculation.gitlab.md +++ b/tests/results/test_read_write_secrets/00_9default_calculation.gitlab.md @@ -5,4 +5,4 @@ > - (:hourglass_flowing_sand: Original default value) Variables: -- :notebook: a variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_) +- :notebook: a variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_None) diff --git a/tests/results/test_read_write_secrets/00_9default_calculation.md b/tests/results/test_read_write_secrets/00_9default_calculation.md index 7c1f3012..b72db03a 100644 --- a/tests/results/test_read_write_secrets/00_9default_calculation.md +++ b/tests/results/test_read_write_secrets/00_9default_calculation.md @@ -6,4 +6,4 @@ > - (:hourglass_flowing_sand: Original default value) Variables: -- :notebook: a variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_) +- :notebook: a variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_None) diff --git a/tests/results/test_read_write_secrets/00_9default_calculation.sh b/tests/results/test_read_write_secrets/00_9default_calculation.sh index c6ef6ceb..2459887b 100644 --- a/tests/results/test_read_write_secrets/00_9default_calculation.sh +++ b/tests/results/test_read_write_secrets/00_9default_calculation.sh @@ -3,4 +3,4 @@ │ (⏳ Original default value) │ ╰──────────────────────────────────────╯ Variables: -┗━━ 📓 a variable: string1 ◀ loaded from rougail-test (⏳ string_1_True_) +┗━━ 📓 a variable: string1 ◀ loaded from rougail-test (⏳ string_1_True_None) diff --git a/tests/results/test_read_write_secrets_errors/00_9default_calculation.gitlab.md b/tests/results/test_read_write_secrets_errors/00_9default_calculation.gitlab.md index 36296569..533a4e92 100644 --- a/tests/results/test_read_write_secrets_errors/00_9default_calculation.gitlab.md +++ b/tests/results/test_read_write_secrets_errors/00_9default_calculation.gitlab.md @@ -4,4 +4,4 @@ > - [+ Default value +] Variables: -- :notebook: a variable: [+ string_1_True_ +] +- :notebook: a variable: [+ string_1_True_None +] diff --git a/tests/results/test_read_write_secrets_errors/00_9default_calculation.md b/tests/results/test_read_write_secrets_errors/00_9default_calculation.md index d8be83dc..bd46e31b 100644 --- a/tests/results/test_read_write_secrets_errors/00_9default_calculation.md +++ b/tests/results/test_read_write_secrets_errors/00_9default_calculation.md @@ -5,4 +5,4 @@ > - Default value Variables: -- :notebook: a variable: string_1_True_ +- :notebook: a variable: string_1_True_None diff --git a/tests/results/test_read_write_secrets_errors/00_9default_calculation.sh b/tests/results/test_read_write_secrets_errors/00_9default_calculation.sh index 0825a0b2..5870154c 100644 --- a/tests/results/test_read_write_secrets_errors/00_9default_calculation.sh +++ b/tests/results/test_read_write_secrets_errors/00_9default_calculation.sh @@ -2,4 +2,4 @@ │ Variable Default value │ ╰────────────────────────╯ Variables: -┗━━ 📓 a variable: string_1_True_ +┗━━ 📓 a variable: string_1_True_None diff --git a/tests/results/test_secrets/00_9default_calculation.gitlab.md b/tests/results/test_secrets/00_9default_calculation.gitlab.md index 39c88fc8..6bcc1215 100644 --- a/tests/results/test_secrets/00_9default_calculation.gitlab.md +++ b/tests/results/test_secrets/00_9default_calculation.gitlab.md @@ -5,4 +5,4 @@ > - (:hourglass_flowing_sand: Original default value) Variables: -- :notebook: a variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_) +- :notebook: a variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_None) diff --git a/tests/results/test_secrets/00_9default_calculation.md b/tests/results/test_secrets/00_9default_calculation.md index 7c1f3012..b72db03a 100644 --- a/tests/results/test_secrets/00_9default_calculation.md +++ b/tests/results/test_secrets/00_9default_calculation.md @@ -6,4 +6,4 @@ > - (:hourglass_flowing_sand: Original default value) Variables: -- :notebook: a variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_) +- :notebook: a variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: string_1_True_None) diff --git a/tests/results/test_secrets/00_9default_calculation.sh b/tests/results/test_secrets/00_9default_calculation.sh index c6ef6ceb..2459887b 100644 --- a/tests/results/test_secrets/00_9default_calculation.sh +++ b/tests/results/test_secrets/00_9default_calculation.sh @@ -3,4 +3,4 @@ │ (⏳ Original default value) │ ╰──────────────────────────────────────╯ Variables: -┗━━ 📓 a variable: string1 ◀ loaded from rougail-test (⏳ string_1_True_) +┗━━ 📓 a variable: string1 ◀ loaded from rougail-test (⏳ string_1_True_None)