File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ async def wrapper(self, n=-1):
8484
8585def ensure_session (func ):
8686 def wrapper (self , * args , ** kwargs ):
87- if self ._session is not None and not self ._session .closed : #pylint: disable=protected-access
87+ if self ._session is not None and not self ._session .closed : # pylint: disable=protected-access
8888 return func (self , * args , ** kwargs )
8989 return None
9090 return wrapper
Original file line number Diff line number Diff line change 1- from typing import Literal , Optional
1+ from typing import Literal , Optional , Union
22from pydantic import BaseModel , Field
33
44
@@ -42,7 +42,7 @@ class AsynchronousClient(BaseSettings):
4242 ))
4343
4444
45- SSLCloudServices = Literal ["prompt" ] | bool
45+ SSLCloudServices = Union [ Literal ["prompt" ], bool ]
4646
4747
4848class CloudServices (BaseSettings ):
You can’t perform that action at this time.
0 commit comments