Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add extended generic section #5932

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

add extended generic section #5932

wants to merge 4 commits into from

Conversation

celek
Copy link

@celek celek commented Dec 31, 2024

End-user friendly description of the problem this fixes or functionality that this introduces

  • Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

Give a summary of what the PR does, explaining any non-trivial design decisions
Creates a dynamic generic 'extended' section in config.toml

[extended]
key_1 = value_1
key_2 = value_2

you can access the value using:

value = cfg.extended.key_1

or

value = cfg.extended["key_2"]

Link of any specific issues this addresses
#5849

@celek
Copy link
Author

celek commented Dec 31, 2024

@enyst as you may have noticed, I am not very good in Git (PR, Commit) nor an expert in python - but I think this PR is a bit better 🤞

@enyst
Copy link
Collaborator

enyst commented Dec 31, 2024

Awesome, thank you! I am still to see how it works, but I'll get back to it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants