jina.drivers.convert

class jina.drivers.convert.ConvertDriver(convert_fn, *args, **kwargs)[source]

Bases: jina.drivers.BaseRecursiveDriver

Parameters

traversal_paths – The describes the leaves of the document tree on which _apply_all are called

class jina.drivers.convert.URI2Buffer(convert_fn='convert_uri_to_buffer', *args, **kwargs)[source]

Bases: jina.drivers.convert.ConvertDriver

Parameters

traversal_paths – The describes the leaves of the document tree on which _apply_all are called

class jina.drivers.convert.URI2DataURI(convert_fn='convert_uri_to_data_uri', *args, **kwargs)[source]

Bases: jina.drivers.convert.ConvertDriver

Parameters

traversal_paths – The describes the leaves of the document tree on which _apply_all are called

class jina.drivers.convert.Buffer2URI(convert_fn='convert_buffer_to_uri', *args, **kwargs)[source]

Bases: jina.drivers.convert.ConvertDriver

Parameters

traversal_paths – The describes the leaves of the document tree on which _apply_all are called

class jina.drivers.convert.Text2URI(convert_fn='convert_text_to_uri', *args, **kwargs)[source]

Bases: jina.drivers.convert.ConvertDriver

Parameters

traversal_paths – The describes the leaves of the document tree on which _apply_all are called

class jina.drivers.convert.URI2Text(convert_fn='convert_uri_to_text', *args, **kwargs)[source]

Bases: jina.drivers.convert.ConvertDriver

Parameters

traversal_paths – The describes the leaves of the document tree on which _apply_all are called

class jina.drivers.convert.Blob2PngURI(convert_fn='convert_blob_to_uri', *args, **kwargs)[source]

Bases: jina.drivers.convert.ConvertDriver

Parameters

traversal_paths – The describes the leaves of the document tree on which _apply_all are called