MCPcopy Create free account
hub / github.com/Tencent/WeKnora / __init__

Method __init__

docreader/parser/doc_parser.py:101–104  ·  view source on GitHub ↗

Initialize DOC parser with sandbox executor

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

99 """DOC document parser"""
100
101 def __init__(self, *args, **kwargs):
102 """Initialize DOC parser with sandbox executor"""
103 super().__init__(*args, **kwargs)
104 self.sandbox_executor = SandboxExecutor()
105
106 def parse_into_text(self, content: bytes) -> Document:
107 logger.info(f"Parsing DOC document, content size: {len(content)} bytes")

Callers

nothing calls this directly

Calls 1

SandboxExecutorClass · 0.85

Tested by

no test coverage detected