Override this method for custom content, but then you are responsible for:
        - generating doc string (you can call self.process_triple_quoted_doc_string())
        - generating "pass" on empty body

def get_blocks(self):
        """
        Override this method for custom content, but then you are responsible for:
        - generating doc string (you can call self.process_triple_quoted_doc_string())
        - generating "pass" on empty body
        """

        self.process_triple_quoted_doc_string()

        num_indented_blocks = 0
        for indentation, block in self._blocks:
            if indentation > 0:
                num_indented_blocks += 1
            yield indentation, block

        if self.expects_body_or_pass and num_indented_blocks == 0:
            yield 1, "pass"
            return