exporters.contrib.writers package

Submodules

exporters.contrib.writers.odo_writer module

class exporters.contrib.writers.odo_writer.ODOWriter(options)[source]

Bases: exporters.writers.base_writer.BaseWriter

Writes items to a odo destination. https://odo.readthedocs.org/en/latest/

Needed parameters:

  • schema (object)
    schema object.
  • odo_uri (str)
    ODO valid destination uri.
requirements = {'odo_uri': {'required': True, 'type': (<type 'basestring'>,)}, 'schema': {'required': True, 'type': <type 'object'>}}
supported_options = {'write_buffer': {'default': 'exporters.write_buffers.base.WriteBuffer', 'type': (<type 'basestring'>,)}, 'compression': {'default': 'gz', 'type': (<type 'basestring'>,)}, 'items_per_buffer_write': {'default': 500000, 'type': (<type 'int'>, <type 'long'>)}, 'size_per_buffer_write': {'default': 4000000000, 'type': (<type 'int'>, <type 'long'>)}, 'items_limit': {'default': 0, 'type': (<type 'int'>, <type 'long'>)}, 'check_consistency': {'default': False, 'type': <type 'bool'>}, 'write_buffer_options': {'default': {}, 'type': <type 'dict'>}}
write(*args, **kw)[source]

Module contents