Commit 84d645c4 authored by payno's avatar payno
Browse files

[core][Process] fix signature of some Process function

- program_name, program_version and definition are static functions
parent f6e592fe
......@@ -236,13 +236,16 @@ class Process(Task):
assert isinstance(_xas_obj, XASObject)
return _xas_obj
def program_name(self):
def program_name():
raise NotImplementedError("Base class")
def program_version(self) -> str:
def program_version() -> str:
"""version of the program used for this processing"""
raise NotImplementedError("Base class")
def definition(self) -> str:
"""definition of the process"""
raise NotImplementedError("Base class")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment