def path(self, which=None):
        """Extend ``nailgun.entity_mixins.Entity.path``.

        The format of the returned path depends on the value of ``which``:

        available_repositories
            /repository_sets/<id>/available_repositories
        enable
            /repository_sets/<id>/enable
        disable
            /repository_sets/<id>/disable

        ``super`` is called otherwise.

        """
        if which in (
                'available_repositories',
                'enable',
                'disable',
        ):
            return '{0}/{1}'.format(
                super(RepositorySet, self).path(which='self'),
                which
            )
        return super(RepositorySet, self).path(which)
def path ( self , which = None ) : if which in ( 'available_repositories' , 'enable' , 'disable' , ) : return '{0}/{1}' . format ( super ( RepositorySet , self ) . path ( which = 'self' ) , which ) return super ( RepositorySet , self ) . path ( which )
Extend ``nailgun.entity_mixins.Entity.path``.

        The format of the returned path depends on the value of ``which``:

        available_repositories
            /repository_sets/<id>/available_repositories
        enable
            /repository_sets/<id>/enable
        disable
            /repository_sets/<id>/disable

        ``super`` is called otherwise.