Part of lp.code.interfaces.hasbranches View In Hierarchy
Known subclasses: lp.registry.interfaces.person.IPersonViewRestricted, lp.registry.interfaces.personproduct.IPersonProduct, lp.registry.interfaces.product.IProductView, lp.registry.interfaces.projectgroup.IProjectGroupPublic, lp.registry.interfaces.sourcepackage.ISourcePackagePublic, lp.registry.interfaces.webservice.IDistributionSourcePackage
This interface defines the common methods for getting branches for the objects that implement this interface.
Method | getBranches | Returns all branches with the given lifecycle status. |
Parameters | status | A list of statuses to filter with. |
visible_by_user | Normally the user who is asking. | |
modified_since | If set, filters the branches being returned to those that have been modified since the specified date/time. | |
eager_load | If True load related objects for the whole collection. | |
Returns | A list of IBranch . |