From d97cbceb0d1f90b9d668ef3b664d7f432394073e Mon Sep 17 00:00:00 2001 From: Raju Komati Date: Mon, 24 Apr 2023 12:03:27 +0530 Subject: updated type hint --- quora/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'quora') diff --git a/quora/__init__.py b/quora/__init__.py index c02246fe..14640f68 100644 --- a/quora/__init__.py +++ b/quora/__init__.py @@ -18,6 +18,7 @@ from tls_client import Session as TLS from quora.api import Client as PoeClient from quora.mail import Emailnator +from typing import Optional # from twocaptcha import TwoCaptcha # solver = TwoCaptcha('72747bf24a9d89b4dcc1b24875efd358') @@ -183,7 +184,7 @@ class Model: class Account: def create( - proxy: str | None = None, + proxy: Optional[str] = None, logging: bool = False, enable_bot_creation: bool = False, ): -- cgit v1.2.3