parameters: (method)
return_statement: return new_method
docstring: check the input arguments of Schema.__init__.
docstring_summary: check the input arguments of Schema.__init__.
docstring_tokens: check the input arguments of Schema . __init__ .
function: def check_schema(method):
      """check the input arguments of Schema.__init__."""
  
      @wraps(method)
      def new_method(self, *args, **kwargs):
          [schema_file], _ = parse_user_args(method, *args, **kwargs)
  
          if schema_file is not None:
              check_file(schema_file)
  
          return method(self, *args, **kwargs)
  
      return new_method
function_tokens: def check_schema ( method ) : @ wraps ( method ) def new_method ( self , * args , * * kwargs ) : [ schema_file ] , _ = parse_user_args ( method , * args , * * kwargs ) if schema_file is not None : check_file ( schema_file ) return method ( self , * args , * * kwargs ) return new_method