def document_model_driven_signature(section, name, operation_model, include=None, exclude=None):
 params = {}
 if operation_model.input_shape:
  params = operation_model.input_shape.members
 parameter_names = list(params.keys())
 if (include is not None):
  for member in include:
   parameter_names.append(member.name)
 if (exclude is not None):
  for member in exclude:
   if (member in parameter_names):
    parameter_names.remove(member)
 signature_params = ''
 if parameter_names:
  signature_params = '**kwargs'
 section.style.start_sphinx_py_method(name, signature_params)

def document_model_driven_signature ( section , name , operation_model , include = None , exclude = None ) : params = { } if operation_model . input_shape : params = operation_model . input_shape . members parameter_names = list ( params . keys ( ) ) if ( include is not None ) : for member in include : parameter_names . append ( member . name ) if ( exclude is not None ) : for member in exclude : if ( member in parameter_names ) : parameter_names . remove ( member ) signature_params = '' if parameter_names : signature_params = '**kwargs' section . style . start_sphinx_py_method ( name , signature_params )
documents the signature of a model-driven method .