1 class {{ protocol_name
}}(typing
.Protocol
):
2 {%- call py
::docstring_value(protocol_docstring
, 4) %}
3 {%- for meth
in methods
.iter() %}
4 def {{ meth
.name()|fn_name
}}(self
, {% call py
::arg_list_decl(meth
) %}):
5 {%- call py
::docstring(meth
, 8) %}
6 raise NotImplementedError