code: def get_rendered_fields(self, ctx=None):
          '''
          :param ctx: rendering context in which the method was called
          :return: ordered list of the fields that will be rendered
          '''
          if ctx is None:
              ctx = RenderContext()
          ctx.push(self)
          current = self._fields[self._field_idx]
          res = current.get_rendered_fields(ctx)
          ctx.pop()
          return ref get_rendered_fields(self, ctx=None):
          '''
          :param ctx: rendering context in which the method was called
          :return: ordered list of the fields that will be rendered
          '''
          if ctx is None:
              ctx = RenderContext()
          ctx.push(self)
          current = self._fields[self._field_idx]
          res = current.get_rendered_fields(ctx)
          ctx.pop()
          return res
docs: :param ctx: rendering context in which the method was called
          :return: ordered list of the fields that will be rendered