Skip to content
Snippets Groups Projects

Infrastructure: Type Hints, Instruction class and lists of instructions

Merged Jammer, Tim requested to merge devel-TJ into main
All threads resolved!
21 files
+ 388
770
Compare changes
  • Side-by-side
  • Inline

Files

@@ -18,6 +18,10 @@ from scripts.Infrastructure.MPICall import MPI_Call
class MPICallFactory:
def get(self, func: str, *args):
f_to_call = getattr(self, func)
return f_to_call(*args)
"""
correct_call_factory_header="""
@@ -26,6 +30,10 @@ from scripts.Infrastructure.CorrectParameter import CorrectParameterFactory
class CorrectMPICallFactory:
def get(self, func: str, *args):
f_to_call = getattr(self, func)
return f_to_call(*args)
"""
template_correct = """
def @{FUNC_KEY}@(self):
Loading