yaml :: dumper :: Dumper :: Class Dumper
[frames] | no frames]

Class Dumper


Instance Methods
 
__init__(self, stream, default_style=None, default_flow_style=None, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None, version=None, tags=None)
x.__init__(...) initializes x; see help(type(x)) for signature

Inherited from emitter.Emitter: analyze_scalar, check_empty_document, check_empty_mapping, check_empty_sequence, check_simple_key, choose_scalar_style, determine_block_hints, dispose, emit, expect_alias, expect_block_mapping, expect_block_mapping_key, expect_block_mapping_simple_value, expect_block_mapping_value, expect_block_sequence, expect_block_sequence_item, expect_document_end, expect_document_root, expect_document_start, expect_first_block_mapping_key, expect_first_block_sequence_item, expect_first_document_start, expect_first_flow_mapping_key, expect_first_flow_sequence_item, expect_flow_mapping, expect_flow_mapping_key, expect_flow_mapping_simple_value, expect_flow_mapping_value, expect_flow_sequence, expect_flow_sequence_item, expect_node, expect_nothing, expect_scalar, expect_stream_start, flush_stream, increase_indent, need_events, need_more_events, prepare_anchor, prepare_tag, prepare_tag_handle, prepare_tag_prefix, prepare_version, process_anchor, process_scalar, process_tag, write_double_quoted, write_folded, write_indent, write_indicator, write_line_break, write_literal, write_plain, write_single_quoted, write_stream_end, write_stream_start, write_tag_directive, write_version_directive

Inherited from serializer.Serializer: anchor_node, close, generate_anchor, open, serialize, serialize_node

Inherited from representer.Representer: represent_complex, represent_instance, represent_long, represent_module, represent_name, represent_object, represent_str, represent_tuple, represent_unicode

Inherited from representer.SafeRepresenter: ignore_aliases, represent_bool, represent_date, represent_datetime, represent_dict, represent_float, represent_int, represent_list, represent_none, represent_set, represent_undefined, represent_yaml_object

Inherited from representer.BaseRepresenter: get_classobj_bases, represent, represent_data, represent_mapping, represent_scalar, represent_sequence

Inherited from resolver.BaseResolver: ascend_resolver, check_resolver_prefix, descend_resolver, resolve

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods

Inherited from representer.BaseRepresenter: add_multi_representer, add_representer

Inherited from resolver.BaseResolver: add_implicit_resolver, add_path_resolver

Class Variables
  yaml_representers = {None: <unbound method SafeRepresenter.rep...

Inherited from emitter.Emitter: DEFAULT_TAG_PREFIXES, ESCAPE_REPLACEMENTS

Inherited from serializer.Serializer: ANCHOR_TEMPLATE

Inherited from representer.Representer: yaml_multi_representers

Inherited from representer.SafeRepresenter: inf_value

Inherited from resolver.Resolver: yaml_implicit_resolvers

Inherited from resolver.BaseResolver: DEFAULT_MAPPING_TAG, DEFAULT_SCALAR_TAG, DEFAULT_SEQUENCE_TAG, yaml_path_resolvers

Properties

Inherited from object: __class__

Method Details

__init__(self, stream, default_style=None, default_flow_style=None, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None, version=None, tags=None)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details

yaml_representers

Value:
{None: <unbound method SafeRepresenter.represent_undefined>,
 <type 'module'>: <unbound method Representer.represent_module>,
 <type 'classobj'>: <unbound method Representer.represent_name>,
 <type 'function'>: <unbound method Representer.represent_name>,
 <type 'builtin_function_or_method'>: <unbound method Representer.repr\
esent_name>,
 <type 'int'>: <unbound method SafeRepresenter.represent_int>,
 <type 'long'>: <unbound method Representer.represent_long>,
...