Introspection #50
deltamarnix
started this conversation in
Ideas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
DFN information is currently written by the class generator as a class variable in every package:
Reading this information during runtime is hard. Conversion to toml already made it easier to understand the nested structure of this information. It should be possible for a user to inspect the dictionaray that comes out of the toml.
Besides that there is also the
MFStructure
class, which is a singleton class accessed by models and packages to obtain information on the definitions of the different packages.It is likely that we only need one definition of what the package contains and I expect that the
attrs
package will give us and the user enough information for introspection.Beta Was this translation helpful? Give feedback.
All reactions