solvebio/resource/apiresource.py
def class_url(cls):
        """Returns a versioned URI string for this class"""
        base = 'v{0}'.format(getattr(cls, 'RESOURCE_VERSION', '1'))
        return "/{0}/{1}".format(base, class_to_api_name(cls.class_name()))
def class_url(cls):
        base = 'v{0}'.format(getattr(cls, 'RESOURCE_VERSION', '1'))
        return "/{0}/{1}".format(base, class_to_api_name(cls.class_name()))
def class_url ( cls ) : base = 'v{0}' . format ( getattr ( cls , 'RESOURCE_VERSION' , '1' ) ) return "/{0}/{1}" . format ( base , class_to_api_name ( cls . class_name ( ) ) )
Returns a versioned URI string for this class
Returns a versioned URI string for this class