code: def build(self):
      d = super().build()
      d.update(
          dict(
              instances=self._instances,
              depends=self._depends,
              allow_failures=self._allow_failures,
              max_restarts=self._max_restarts,
          )
      )
      return d
  
imports: import os
  import textwrap
  from urllib.parse import urlparse
  from ...utils import parse_readable_size
label_desc: Use image node_id 2 for calling the AppServiceConfig obj's underlying member method code with example usage: obj.build() and returns: d