-
Notifications
You must be signed in to change notification settings - Fork 269
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 method to write default config to Tool and Component. #2378
base: main
Are you sure you want to change the base?
Commits on Nov 29, 2023
-
Add method to write default config to Tool and Component.
Issues are: when default value is undefined, the default config is then non valid and make it difficult to understand what value we're supposed to use.
Configuration menu - View commit details
-
Copy full SHA for d5f6963 - Browse repository at this point
Copy the full SHA d5f6963View commit details -
Configuration menu - View commit details
-
Copy full SHA for b308dff - Browse repository at this point
Copy the full SHA b308dffView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2b2094 - Browse repository at this point
Copy the full SHA d2b2094View commit details -
Automatically comment parameters that are Undefined to keep them docu…
…mented but not crashing everything in case they're optional.
Configuration menu - View commit details
-
Copy full SHA for 91bd4fc - Browse repository at this point
Copy the full SHA 91bd4fcView commit details -
Help message now provided for classes in config_writer.
In practice, it's the first line of its docstring. Formatting is done in a separate function because I also need that for trait help, as it's sometime a multiline string that is very badly rendered otherwise.
Configuration menu - View commit details
-
Copy full SHA for 33f07b8 - Browse repository at this point
Copy the full SHA 33f07b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42a24f1 - Browse repository at this point
Copy the full SHA 42a24f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 548e370 - Browse repository at this point
Copy the full SHA 548e370View commit details -
default value now get the dynamic default value if the static one is …
…undefined. Note that get_default_value() was deprecated anyway, and they advise to use .default_value instead. But this is the static value, meaning you'll get more undefined that what really is.
Configuration menu - View commit details
-
Copy full SHA for 7fcba1a - Browse repository at this point
Copy the full SHA 7fcba1aView commit details -
In config writer: default value now write on multiple lines when a li…
…st of values is encountered (e.g. quality criteria)
Configuration menu - View commit details
-
Copy full SHA for 3fd1de2 - Browse repository at this point
Copy the full SHA 3fd1de2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93d0899 - Browse repository at this point
Copy the full SHA 93d0899View commit details -
List are now formatted one line per element.
isinstance(obj, list) was not working because traitlets.List and derivatives are not considered list type. config_files trait is also commented because it crashed with the empty list as default.
Configuration menu - View commit details
-
Copy full SHA for 8642e35 - Browse repository at this point
Copy the full SHA 8642e35View commit details