l.c.i.g.IGitRepositoryModerate(Interface) : interface documentation

Part of lp.code.interfaces.gitrepository View In Hierarchy

Known subclasses: lp.code.interfaces.webservice.IGitRepository

IGitRepository methods that can be called by more than one community.
Method transitionToInformationType Set the information type for this repository.
@mutator_for(IGitRepositoryView['information_type'])
@operation_parameters(copy_field(IGitRepositoryView['information_type']))
@call_with(REQUEST_USER)
@export_write_operation()
@operation_for_version('devel')
def transitionToInformationType(information_type, user, verify_policy=True):
Set the information type for this repository.
Parametersinformation_typeThe InformationType to transition to.
userThe IPerson who is making the change.
verify_policyCheck if the new information type complies with the IGitNamespacePolicy.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.