From 07914936a40f20b57ed3ef90251a311ba76bd5ce Mon Sep 17 00:00:00 2001 From: dancers <149972831+alluding@users.noreply.github.com> Date: Fri, 3 May 2024 17:29:37 -0400 Subject: [PATCH] Update session.py --- curl_cffi/requests/session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curl_cffi/requests/session.py b/curl_cffi/requests/session.py index e6bf92e..dd42433 100644 --- a/curl_cffi/requests/session.py +++ b/curl_cffi/requests/session.py @@ -97,8 +97,8 @@ class BrowserSpec: def __init__( self, browser_type: BrowserType, - version: str | None = None, - platform: str | None = None + version: Optional[str] = None, + platform: Optional[str] = None ): self.browser_type = browser_type self.version = version