gooddata_sdk.utils.IndentDumper

class gooddata_sdk.utils.IndentDumper(stream, default_style=None, default_flow_style=False, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None, version=None, tags=None, sort_keys=True)

Bases: SafeDumper

__init__(stream, default_style=None, default_flow_style=False, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None, version=None, tags=None, sort_keys=True)

Methods

__init__(stream[, default_style, ...])

add_implicit_resolver(tag, regexp, first)

add_multi_representer(data_type, representer)

add_path_resolver(tag, path[, kind])

add_representer(data_type, representer)

analyze_scalar(scalar)

anchor_node(node)

ascend_resolver()

check_empty_document()

check_empty_mapping()

check_empty_sequence()

check_resolver_prefix(depth, path, kind, ...)

check_simple_key()

choose_scalar_style()

close()

descend_resolver(current_node, current_index)

determine_block_hints(text)

dispose()

emit(event)

expect_alias()

expect_block_mapping()

expect_block_mapping_key([first])

expect_block_mapping_simple_value()

expect_block_mapping_value()

expect_block_sequence()

expect_block_sequence_item([first])

expect_document_end()

expect_document_root()

expect_document_start([first])

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([root, sequence, mapping, ...])

expect_nothing()

expect_scalar()

expect_stream_start()

flush_stream()

generate_anchor(node)

ignore_aliases(data)

increase_indent([flow, indentless])

need_events(count)

need_more_events()

open()

prepare_anchor(anchor)

prepare_tag(tag)

prepare_tag_handle(handle)

prepare_tag_prefix(prefix)

prepare_version(version)

process_anchor(indicator)

process_scalar()

process_tag()

represent(data)

represent_binary(data)

represent_bool(data)

represent_data(data)

represent_date(data)

represent_datetime(data)

represent_dict(data)

represent_float(data)

represent_int(data)

represent_list(data)

represent_mapping(tag, mapping[, flow_style])

represent_none(data)

represent_scalar(tag, value[, style])

represent_sequence(tag, sequence[, flow_style])

represent_set(data)

represent_str(data)

represent_undefined(data)

represent_yaml_object(tag, data, cls[, ...])

resolve(kind, value, implicit)

serialize(node)

serialize_node(node, parent, index)

write_double_quoted(text[, split])

write_folded(text)

write_indent()

write_indicator(indicator, need_whitespace)

write_line_break([data])

write_literal(text)

write_plain(text[, split])

write_single_quoted(text[, split])

write_stream_end()

write_stream_start()

write_tag_directive(handle_text, prefix_text)

write_version_directive(version_text)

Attributes

ANCHOR_TEMPLATE

DEFAULT_MAPPING_TAG

DEFAULT_SCALAR_TAG

DEFAULT_SEQUENCE_TAG

DEFAULT_TAG_PREFIXES

ESCAPE_REPLACEMENTS

inf_value

yaml_implicit_resolvers

yaml_multi_representers

yaml_path_resolvers

yaml_representers