You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "e:\lasse\test\psycop-common\test_confection.py", line 12, in <module>
cfg.to_str()
File "E:\ProgramData\Anaconda3\envs\psycop-main\lib\site-packages\confection\__init__.py", line 419, in to_str
flattened.set(section_name, key, try_dump_json(value, node))
File "E:\ProgramData\Anaconda3\envs\psycop-main\lib\configparser.py", line 1205, in set
super().set(section, option, value)
File "E:\ProgramData\Anaconda3\envs\psycop-main\lib\configparser.py", line 903, in set
raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'test.*'
Tested on Windows and MacOS, using confection 0.1.3 and 0.1.4
The text was updated successfully, but these errors were encountered:
However unsure if that is the desired functionality. If it is it might be worth adding a check to see if any section ends with a * if it isn't the desired functionality.
Hi!
As part of my workflow, I want to save my Config to disk so I can reload it later. However, if the config contains a
*
section this fails.Minimal example:
This results in
Tested on Windows and MacOS, using confection 0.1.3 and 0.1.4
The text was updated successfully, but these errors were encountered: