获取代理配置
(self)
| 62 | |
| 63 | @property |
| 64 | def proxies(self) -> Optional[Dict[str, str]]: |
| 65 | """获取代理配置""" |
| 66 | if not self.proxy_url: |
| 67 | return None |
| 68 | return { |
| 69 | "http": self.proxy_url, |
| 70 | "https": self.proxy_url, |
| 71 | } |
| 72 | |
| 73 | @property |
| 74 | def session(self) -> Session: |
nothing calls this directly
no outgoing calls
no test coverage detected