From 253ceca76a027a9c70b51f3ccf5ad5bfad4cf672 Mon Sep 17 00:00:00 2001 From: Bagatur <22008038+baskaryan@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:16:52 -0700 Subject: [PATCH] docs: fix mimetype parser docstring (#25463) --- .../document_loaders/parsers/generic.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libs/community/langchain_community/document_loaders/parsers/generic.py b/libs/community/langchain_community/document_loaders/parsers/generic.py index 615578846d282..75861ab346d96 100644 --- a/libs/community/langchain_community/document_loaders/parsers/generic.py +++ b/libs/community/langchain_community/document_loaders/parsers/generic.py @@ -23,14 +23,14 @@ class MimeTypeBasedParser(BaseBlobParser): .. code-block:: python - from langchain_community.document_loaders.parsers.generic import MimeTypeBasedParser - - parser = MimeTypeBasedParser( - handlers={ - "application/pdf": ..., - }, - fallback_parser=..., - ) + from langchain_community.document_loaders.parsers.generic import MimeTypeBasedParser + + parser = MimeTypeBasedParser( + handlers={ + "application/pdf": ..., + }, + fallback_parser=..., + ) """ # noqa: E501 def __init__(