parameters: (value)
return_statement: return value
docstring: Coerce this configuration option to a lambda.
  
      Additionally, make sure the lambda returns something.
docstring_summary: Coerce this configuration option to a lambda.
docstring_tokens: Coerce this configuration option to a lambda .
function: def returning_lambda(value):
      """Coerce this configuration option to a lambda.
  
      Additionally, make sure the lambda returns something.
      """
      value = lambda_(value)
      if "return" not in value.value:
          raise Invalid(
              "Lambda doesn't contain a 'return' statement, but the lambda "
              "is expected to return a value. \n"
              "Please make sure the lambda contains at least one "
              "return statement."
          )
      return value
function_tokens: def returning_lambda ( value ) : value = lambda_ ( value ) if "return" not in value . value : raise Invalid ( "Lambda doesn't contain a 'return' statement, but the lambda " "is expected to return a value. \n" "Please make sure the lambda contains at least one " "return statement." ) return value