define the __init__ method with 7 arguments: self, func, args, kwargs, url_name set to None, app_name set to None and namespaces set to None.
def __init__ ( self , func , args , kwargs , url_name = None , app_name = None , namespaces = None ) :