mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-08 06:23:20 +00:00
community[patch]: doc loaders mypy fixes (#17368)
**Description:** Fixed `type: ignore`'s for mypy for some document_loaders. **Issue:** [Remove "type: ignore" comments #17048 ](https://github.com/langchain-ai/langchain/issues/17048) --------- Co-authored-by: Robby <h0rv@users.noreply.github.com> Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
This commit is contained in:
@@ -123,7 +123,9 @@ class AssemblyAIAudioLoaderById(BaseLoader):
|
||||
|
||||
"""
|
||||
|
||||
def __init__(self, transcript_id, api_key, transcript_format): # type: ignore[no-untyped-def]
|
||||
def __init__(
|
||||
self, transcript_id: str, api_key: str, transcript_format: TranscriptFormat
|
||||
):
|
||||
"""
|
||||
Initializes the AssemblyAI AssemblyAIAudioLoaderById.
|
||||
|
||||
|
Reference in New Issue
Block a user