Closed svde closed 11 months ago
Adom Lock with Context Manager was introduced with @icovada., For time being I have reverted that Commit. Can you check?
I think the latest version was not pushed to PIP. That's the reason. There is also a missing return for which I created a merge request ( still there ). It's a pitty you reverted the Lock, we are using it here and it is very usefull. I have also extednted the librardy with a Device class which allow to work easily with devices. Here at work we intend to use your library in our production environment. If possible I will contribute as much as possible with all extends we need. I need to know what are the direction you want for this lib, to know if I push the merge request or if it is better to fork and continue on our own track ?
Perhaps it would help if the documentation is updated so I understand how to use the new method.
I noticed that the API for global header & footer policies has changed between v6 and v7 fortimanager. I thought I'd take the current (git) as the starting point for my changes. Issue is that I'm not able to make a connection with the fortimanager with the current git version.
Steps to reproduce: 1/ install new venv:
python -m venv venv-20231001-git / python -m venv venv-20231001-pip
2/ activate the venv and install3/ start python and run the same commands. Output of the git version:
Output of the pip version:
The screen fills up with data, truncated, as the point is made that it gets data.
Has something changed with the login process in the current git version?