Remove dummy
All threads resolved!
All threads resolved!
Apparently it is not necessary to use the dummy_*
persistent properties anymore!
Merge request reports
Activity
Filter activity
assigned to @wjvriend
This MR only removes the creation of the
dummy_
attributes, see !355 (05922015) .However, there is still plenty of code that hides these attributes.
rg dummy
shows:src/micado/toolbox/python_from_vodml.py 373: if not attr.name.startswith("dummy_") src/micado/toolbox/tsf_from_python.py 115: if "dummy" not in a and a not in {"filename", "globalname", "object_id"} src/micado/toolbox/rst_from_python.py 106: if a not in asbad and not a.startswith("dummy") src/micado/toolbox/python_from_tsf.py 149: "name": f"dummy_{name_template_eso.lower().replace('_', '')}", 151: "desc": "dummy", src/micado/test/functional/irdb_test.py 68: if not a.startswith("dummy") src/micado/main/TemplateExtra.py 116: if a not in asbad and not a.startswith("dummy") src/micado/main/MObjectExtra.py 308: if not attrnamea.startswith("dummy") 586: if not a.startswith("dummy") and a not in attrs_to_ignore 607: attrnames = [a for a in self.get_persistent() if not a.startswith("dummy")] src/micado/main/MDBObjectMeta.py 222: if not a.startswith("dummy_") 687: if not a.startswith("dummy") and a not in args_do 955: a for a in cls.get_persistent_properties() if not a.startswith("dummy_") src/micado/main/HardwareExtra.py 80: if not attrname.startswith("dummy") src/micado/main/RecipeStepExtra.py 174: if pp not in names_bad and not pp.startswith("dummy") src/micado/main/MObjectWISE.py 16: dummy_mobject = persistent("dummy_mobject", str, "")
All that code can be removed.
enabled an automatic merge when the pipeline for 0dd6cbeb succeeds
added 3 commits
- Resolved by CI Bot
abstractautoformatter linting
Some files are not formatted correctly according to abstractautoformatter:
- src/micado/main/MObjectExtra.py
- src/micado/main/TemplateExtra.py
- src/micado/toolbox/python_from_tsf.py
- src/micado/toolbox/rst_from_python.py
The assist-MR !356 (merged) has been created to fix the formatting.
mentioned in merge request !356 (merged)
enabled an automatic merge when the pipeline for 64ac876e succeeds
- Resolved by CI Bot
Analysis Details
0 Issues
Coverage and Duplications
Project ID: micado-micadowise
mentioned in commit 49eb0b17