wrapper function python decorator. There are any references about wrapper function python decorator in here. you can look below.