types.IntoDocument

Structural type for objects that convert themselves into a Document.

Usage

Source

types.IntoDocument()

Implement to_document() returning a raghilda Document (or ChunkedDocument) so raghilda can accept your type directly; Document.from_any() and ChunkedDocument.from_any() call it.

Methods

Name Description
to_document() Convert this object into a Document.

to_document()

Convert this object into a Document.

Usage

Source

to_document()