Missing conversions
Curently migrating a project, I found these missing conversions:
_MODULE_NAMES -> _PACKAGE_NAMES
DisciplineData -> dict[str, Any] # (Typehint)
cache_hfd_file -> hdf_file_path
cache_node_path -> hdf_node_path
MDODiscipline.ExecutionStatus -> ExecutionStatus.status
self.default_inputs -> self.default_input_data
Bump has transformed some ‘self.store_local_data(x2=x2)’ into ‘self.io.update_output_data(x2=x2)’, which does not work. It should be ‘self.io.update_output_data({“x2”: x2})’
Bump could have transformed the ‘self.get_inputs_by_name(“x2”)’ into ‘self.get_input_data()[“x2”]’
.status -> .execution_status
get_output_data_names() -> list(self.io.get_output_data().keys()) # Is it like that? I find it quite verbose.
auto_detect_grammar_files, default_cache_type, default_grammar_type are now class attributes. This is not evident, especially because they are written in lower case.