An improvement of the code (allowing for instance for simple caching where needed) would be that of changing the parsing
from runcards into mutable objects such as dictionaries into parsing them in immutable, hence hashable, objects such as a frozen data class.
An example is parse_ns_settings, where ns_settings becomes a dict
An improvement of the code (allowing for instance for simple caching where needed) would be that of changing the parsing
from runcards into mutable objects such as dictionaries into parsing them in immutable, hence hashable, objects such as a frozen data class.
An example is
parse_ns_settings, wherens_settingsbecomes adict