code: def yaml(self, with_plugin=False):
          
          from yaml import dump
          data = self._yaml(with_plugin=with_plugin)
          return dump(data, default_flow_style=False)
docs: Return YAML representation of this data-source
  
          The output may be roughly appropriate for inclusion in a YAML
          catalog. This is a best-effort implementation
  
          Parameters
          ----------
          with_plugin: bool
              If True, create a "plugins" section, for cases where this source
              is created with a plugin not expected to be in the global Intake
              registry.