ndio/remote/resources.py
def list_tokens(self):
        """
        Lists a set of tokens that are public in Neurodata.
        Arguments:
        Returns:
            dict: Public tokens found in Neurodata
        """
        url = self.url() + "/nd/resource/public/token/"
        req = self.remote_utils.get_url(url)

        if req.status_code is not 200:
            raise RemoteDataNotFoundError('Coud not find {}'.format(req.text))
        else:
            return req.json()
def list_tokens(self):
        """
        Lists a set of tokens that are public in Neurodata.
        Arguments:
        Returns:
            dict: Public tokens found in Neurodata
        """
        url = self.url() + "/nd/resource/public/token/"
        req = self.remote_utils.get_url(url)

        if req.status_code is not 200:
            raise RemoteDataNotFoundError('Coud not find {}'.format(req.text))
        else:
            return req.json()
def list_tokens ( self ) : url = self . url ( ) + "/nd/resource/public/token/" req = self . remote_utils . get_url ( url ) if req . status_code is not 200 : raise RemoteDataNotFoundError ( 'Coud not find {}' . format ( req . text ) ) else : return req . json ( )
Lists a set of tokens that are public in Neurodata.
        Arguments:
        Returns:
            dict: Public tokens found in Neurodata
Lists a set of tokens that are public in Neurodata . Arguments : Returns : dict : Public tokens found in Neurodata