(self, args)
return super(RootController, self)._route(args)
Overrides the default routing behavior.

        It redirects the request to the default version of the magnum API
        if the version number is not specified in the url.
Overrides the default routing behavior.
Overrides the default routing behavior .
def _route(self, args):
        """Overrides the default routing behavior.

        It redirects the request to the default version of the magnum API
        if the version number is not specified in the url.
        """

        if args[0] and args[0] not in self._versions:
            args = [self._default_version] + args
        return super(RootController, self)._route(args)
def _route ( self , args ) : if args [ 0 ] and args [ 0 ] not in self . _versions : args = [ self . _default_version ] + args return super ( RootController , self ) . _route ( args )