-
Notifications
You must be signed in to change notification settings - Fork 10
Added async vpn example #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thank you for submitting pull request. Allow me to review it. |
|
How to allow? |
|
Resolved issues |
|
Pls review again |
Could you do the It would be |
Ok, but how to accept this kind of arguments in function? |
Add the keyword arguments matching the args attributes. For example, there is The function would look like this: async def add_vpn_connection_async(
conn_id: str,
dev: str,
...............
) -> str:Instead of Probably better to use |
|
Fixed |
|
I have one question about further library usage. How to connect existing connection? |
Probably using |
I can not understand how to create object of |
Just use the The difference is So it would look something like this: nm = NetworkManager()
nm.activate_connection(vpn_connection_path, "/", "/") |
|
It works. Thank you.
|
No description provided.