def done_method(d: ApiDefinition):
    return f'''

    def {GeneratorUtils.method_declaration(d.done_method)}:
        {GeneratorUtils.doc_string(d.done_method)}
        {call_response_cb(d, d.done_method)}'''
def done_method(d: ApiDefinition):
    return f'

    def {GeneratorUtils.method_declaration(d.done_method)}:
        {GeneratorUtils.doc_string(d.done_method)}
        {call_response_cb(d, d.done_method)}'