docarray.document.mixins.content module#
- class docarray.document.mixins.content.ContentPropertyMixin[source]#
Bases:
object
Provide helper functions for
Document
to allow universal content property access.- property content_hash: int#
Get the document hash according to its content.
- Return type:
int
- Returns:
the unique hash code to represent this Document