#NEWLINE# @ jm . decorators . ProgressBar #NEWLINE# def decorated_function_beta( an_argument , jmc = UnsignedIntValue ( ) , jmm = UnsignedIntValue ( ) ) : #NEWLINE# #INDENT# ' A simple example of a ProgressBar-decorated function.\n    \n    In comparison to `decorated_function_alpha`, we now have the\n    arguments `jmc` and `jmm`. Jobmanager automatically detects\n    arguments that are registered in\n    `jobmanager.jobmanager.validCountKwargs`.\n\n    Note that we do not need to set the value of jmc to zero, as the \n    ProgressBar initiates the variable with zero.\n    ' #NEWLINE# jmm . value = 10 #NEWLINE# for i in range ( 10 ) : #NEWLINE# #INDENT# jmc . value += 1 #NEWLINE# time . sleep ( 0.2 ) #NEWLINE# #UNINDENT# return an_argument