Mercurial > repos > shellac > guppy_basecaller
comparison env/lib/python3.7/site-packages/yaml/dumper.py @ 5:9b1c78e6ba9c draft default tip
"planemo upload commit 6c0a8142489327ece472c84e558c47da711a9142"
| author | shellac |
|---|---|
| date | Mon, 01 Jun 2020 08:59:25 -0400 |
| parents | 79f47841a781 |
| children |
comparison
equal
deleted
inserted
replaced
| 4:79f47841a781 | 5:9b1c78e6ba9c |
|---|---|
| 1 | |
| 2 __all__ = ['BaseDumper', 'SafeDumper', 'Dumper'] | |
| 3 | |
| 4 from .emitter import * | |
| 5 from .serializer import * | |
| 6 from .representer import * | |
| 7 from .resolver import * | |
| 8 | |
| 9 class BaseDumper(Emitter, Serializer, BaseRepresenter, BaseResolver): | |
| 10 | |
| 11 def __init__(self, stream, | |
| 12 default_style=None, default_flow_style=False, | |
| 13 canonical=None, indent=None, width=None, | |
| 14 allow_unicode=None, line_break=None, | |
| 15 encoding=None, explicit_start=None, explicit_end=None, | |
| 16 version=None, tags=None, sort_keys=True): | |
| 17 Emitter.__init__(self, stream, canonical=canonical, | |
| 18 indent=indent, width=width, | |
| 19 allow_unicode=allow_unicode, line_break=line_break) | |
| 20 Serializer.__init__(self, encoding=encoding, | |
| 21 explicit_start=explicit_start, explicit_end=explicit_end, | |
| 22 version=version, tags=tags) | |
| 23 Representer.__init__(self, default_style=default_style, | |
| 24 default_flow_style=default_flow_style, sort_keys=sort_keys) | |
| 25 Resolver.__init__(self) | |
| 26 | |
| 27 class SafeDumper(Emitter, Serializer, SafeRepresenter, Resolver): | |
| 28 | |
| 29 def __init__(self, stream, | |
| 30 default_style=None, default_flow_style=False, | |
| 31 canonical=None, indent=None, width=None, | |
| 32 allow_unicode=None, line_break=None, | |
| 33 encoding=None, explicit_start=None, explicit_end=None, | |
| 34 version=None, tags=None, sort_keys=True): | |
| 35 Emitter.__init__(self, stream, canonical=canonical, | |
| 36 indent=indent, width=width, | |
| 37 allow_unicode=allow_unicode, line_break=line_break) | |
| 38 Serializer.__init__(self, encoding=encoding, | |
| 39 explicit_start=explicit_start, explicit_end=explicit_end, | |
| 40 version=version, tags=tags) | |
| 41 SafeRepresenter.__init__(self, default_style=default_style, | |
| 42 default_flow_style=default_flow_style, sort_keys=sort_keys) | |
| 43 Resolver.__init__(self) | |
| 44 | |
| 45 class Dumper(Emitter, Serializer, Representer, Resolver): | |
| 46 | |
| 47 def __init__(self, stream, | |
| 48 default_style=None, default_flow_style=False, | |
| 49 canonical=None, indent=None, width=None, | |
| 50 allow_unicode=None, line_break=None, | |
| 51 encoding=None, explicit_start=None, explicit_end=None, | |
| 52 version=None, tags=None, sort_keys=True): | |
| 53 Emitter.__init__(self, stream, canonical=canonical, | |
| 54 indent=indent, width=width, | |
| 55 allow_unicode=allow_unicode, line_break=line_break) | |
| 56 Serializer.__init__(self, encoding=encoding, | |
| 57 explicit_start=explicit_start, explicit_end=explicit_end, | |
| 58 version=version, tags=tags) | |
| 59 Representer.__init__(self, default_style=default_style, | |
| 60 default_flow_style=default_flow_style, sort_keys=sort_keys) | |
| 61 Resolver.__init__(self) | |
| 62 |
