You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There should be a new instance every time we use the with statement. because if not the next time you use the client you'll get "Cannot reopen a client instance, once it has been closed."
Like in this example you should write in the docs: with Client(base_url="Somthing") as client:
and not: with client as client:
The text was updated successfully, but these errors were encountered:
There should be a new instance every time we use the with statement. because if not the next time you use the client you'll get "Cannot reopen a client instance, once it has been closed."
Like in this example you should write in the docs:
with Client(base_url="Somthing") as client:
and not:
with client as client:
The text was updated successfully, but these errors were encountered: