code: def add_child(self, child: Block):
      if isinstance(self.parent, Row):
          scale = getattr(child, "scale", None)
          self.scale += 1 if scale is None else scale
          self.min_width += getattr(child, "min_width", 0) or 0
      BlockContext.add_child(self, child)
  
file_path: gradio/gradio/layouts/form.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from gradio_client.documentation import set_documentation_group
  from gradio.blocks import BlockContext
  from gradio.component_meta import ComponentMeta
  from gradio.layouts.row import Row
label_desc: Use image node_id 2 for calling the Form obj's underlying member method code with example usage: obj.add_child(child) without return types