kopia lustrzana https://github.com/bugout-dev/moonstream
Fix mypy.
rodzic
c992475765
commit
2e65a2b889
|
@ -1,6 +1,6 @@
|
|||
import argparse
|
||||
import datetime
|
||||
from moonstream.client import Moonstream
|
||||
from moonstream.client import Moonstream # type: ignore
|
||||
import time
|
||||
import requests
|
||||
import json
|
||||
|
|
|
@ -19,7 +19,7 @@ class MoonstreamHTTPException(HTTPException):
|
|||
status_code: int,
|
||||
detail: Any = None,
|
||||
headers: Optional[Dict[str, Any]] = None,
|
||||
internal_error: Exception = None,
|
||||
internal_error: Optional[Exception] = None,
|
||||
):
|
||||
super().__init__(status_code, detail, headers)
|
||||
if internal_error is not None:
|
||||
|
|
|
@ -156,7 +156,7 @@ def get_crawl_job_entries(
|
|||
subscription_type: SubscriptionTypes,
|
||||
crawler_type: str,
|
||||
journal_id: str = MOONSTREAM_MOONWORM_TASKS_JOURNAL,
|
||||
created_at_filter: int = None,
|
||||
created_at_filter: Optional[int] = None,
|
||||
limit: int = 200,
|
||||
) -> List[BugoutSearchResult]:
|
||||
"""
|
||||
|
|
Ładowanie…
Reference in New Issue