parameters: (
      *, response: Response, current_user: User = Depends(get_current_user)
  )
docstring: Reload director configuration from files. Command used: _reload_
docstring_summary: Reload director configuration from files. Command used: _reload_
docstring_tokens: Reload director configuration from files . Command used : _reload_
function: def read_director_time(
      *, response: Response, current_user: User = Depends(get_current_user)
  ):
      """
      Reload director configuration from files. Command used: _reload_
      """
      result = None
      dirCommand = "reload"
      try:
          result = current_user.jsonDirector.call(dirCommand)
      except Exception as e:
          response.status_code = 500
          return {
              "message": "Could not reload director %s. Message: '%s'"
              % (current_user.directorName, e)
          }
      if result and "reload" in result:
          return result["reload"]
      else:
          response.status_code = 500
          return result
function_tokens: def read_director_time ( * , response : Response , current_user : User = Depends ( get_current_user ) ) : result = None dirCommand = "reload" try : result = current_user . jsonDirector . call ( dirCommand ) except Exception as e : response . status_code = 500 return { "message" : "Could not reload director %s. Message: '%s'" % ( current_user . directorName , e ) } if result and "reload" in result : return result [ "reload" ] else : response . status_code = 500 return result