MCPcopy Create free account
hub / github.com/Freedium-cfd/web / __init__

Method __init__

medium-parser/medium_parser/api.py:14–24  ·  view source on GitHub ↗
(
        self,
        auth_cookies: Optional[str] = None,
        proxy_list: Optional[List[str]] = None,
        timeout: int = 3,
        impersonate: str = "chrome146",
    )

Source from the content-addressed store, hash-verified

12 __slots__ = ("auth_cookies", "proxy_list", "timeout", "impersonate")
13
14 def __init__(
15 self,
16 auth_cookies: Optional[str] = None,
17 proxy_list: Optional[List[str]] = None,
18 timeout: int = 3,
19 impersonate: str = "chrome146",
20 ):
21 self.auth_cookies = auth_cookies
22 self.proxy_list = proxy_list
23 self.timeout = timeout
24 self.impersonate = impersonate
25
26 async def query_post_by_id(self, post_id: str):
27 logger.debug("Using graphql implementation")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected