b.u.ConfirmationUserInterfacePolicy(object) : class documentation

Part of bzrlib.ui View In Hierarchy

Wrapper for a UIFactory that allows or denies all confirmed actions.
Method __init__ Generate a proxy UI that does no confirmations.
Method __getattr__ Undocumented
Method __repr__ Undocumented
Method confirm_action Undocumented
def __init__(self, wrapped_ui, default_answer, specific_answers):
Generate a proxy UI that does no confirmations.
Parameterswrapped_uiUnderlying UIFactory.
default_answerBool for whether requests for confirmation from the user should be noninteractively accepted or denied.
specific_answersMap from confirmation_id to bool answer.
def __getattr__(self, name):
Undocumented
def __repr__(self):
Undocumented
def confirm_action(self, prompt, confirmation_id, prompt_kwargs):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.