yamole.py
def dumps(self, no_alias=True, full_expansion=True):
        """Dump the parsed object as a YAML-compliant string, using a
        customized PyYAML dumper.

        Args:
            no_alias: Don't use any alias in the result.
            full_expansion: Fully expand objects into YAML format (the default
                PyYAML dumper shows some nested objects as dicts).

        Returns:
            A string with the parsed YAML object.
        """

        dumper = yaml.dumper.SafeDumper

        if no_alias:
            dumper.ignore_aliases = lambda self, data: True

        return yaml.dump(self.data, default_flow_style=not full_expansion,
                         Dumper=dumper)
Dump the parsed object as a YAML-compliant string, using a
        customized PyYAML dumper.

        Args:
            no_alias: Don't use any alias in the result.
            full_expansion: Fully expand objects into YAML format (the default
                PyYAML dumper shows some nested objects as dicts).

        Returns:
            A string with the parsed YAML object.
        
Dump the parsed object as a YAML-compliant string, using a
customized PyYAML dumper.
Dump the parsed object as a YAML - compliant string using a customized PyYAML dumper .
def dumps(self, no_alias=True, full_expansion=True):
        dumper = yaml.dumper.SafeDumper
        if no_alias:
            dumper.ignore_aliases = lambda self, data: True
        return yaml.dump(self.data, default_flow_style=not full_expansion,
                         Dumper=dumper)
def dumps ( self , no_alias = True , full_expansion = True ) : dumper = yaml . dumper . SafeDumper if no_alias : dumper . ignore_aliases = lambda self , data : True return yaml . dump ( self . data , default_flow_style = not full_expansion , Dumper = dumper )
Dump the parsed object as a YAML-compliant string, using a
customized PyYAML dumper.
Dump the parsed object as a YAML - compliant string using a customized PyYAML dumper .
"""Dump the parsed object as a YAML-compliant string, using a
        customized PyYAML dumper.

        Args:
            no_alias: Don't use any alias in the result.
            full_expansion: Fully expand objects into YAML format (the default
                PyYAML dumper shows some nested objects as dicts).

        Returns:
            A string with the parsed YAML object.
        """
A string with the parsed YAML object.
A string with the parsed YAML object .
self
no_alias
Don't use any alias in the result.
Don ' t use any alias in the result .
full_expansion
Fully expand objects into YAML format (the default
PyYAML dumper shows some nested objects as dicts).
Fully expand objects into YAML format ( the default PyYAML dumper shows some nested objects as dicts ) .