MCPcopy Create free account
hub / github.com/Alibaba-NLP/DeepResearch / __init__

Method __init__

inference/file_tools/file_parser.py:50–53  ·  view source on GitHub ↗
(self, message: str, code: str = '400', exception: Optional[Exception] = None)

Source from the content-addressed store, hash-verified

48 """Custom exception for document parsing errors"""
49
50 def __init__(self, message: str, code: str = '400', exception: Optional[Exception] = None):
51 super().__init__(message)
52 self.code = code
53 self.exception = exception
54
55
56def parse_file_by_idp(file_path: str = None, file_url: str = None) -> List[dict]:

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected