(self)
| 66 | return int(res.get("tier_id", 1)) |
| 67 | |
| 68 | def close(self) -> None: |
| 69 | if self._proc.poll() is None: |
| 70 | try: |
| 71 | if self._proc.stdin is not None: |
| 72 | self._proc.stdin.close() |
| 73 | except Exception: |
| 74 | pass |
| 75 | self._proc.wait(timeout=5) |
| 76 | |
| 77 | def __del__(self) -> None: |
| 78 | try: |
no outgoing calls