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
{{ message }}
This repository was archived by the owner on Nov 14, 2025. It is now read-only.
Ondřej Michal edited this page Mar 30, 2022
·
6 revisions
Here we would like to show one of the quirks and features of our Client. If your project requets editing multiple models you can do it. The only think that prevents such use is session defined in initModel.py class Model. The variable called trans enables us to create persistent connection. This is much faster but allows only one model to be created. With cModel = Client(new) isntead of cModel = Client(new, transport=trans) the connection is established every time the request is send. With this one adjustment the following can be executed, switching to any model you need.