OpenIxia / ixnetwork_restpy

The IxNetwork python client.
https://openixia.github.io/ixnetwork_restpy/#/
MIT License
30 stars 16 forks source link

SessionAssitant doesn't work with Apikey arg use in __init__() #32

Closed oferveur closed 4 years ago

oferveur commented 4 years ago

SessionAssitant doesn't work with ApiKey argument

from ixnetwork_restpy import SessionAssistant
ip = "172.0.0.1"
user = "admin"
password = "admin
sa = SessionAssistant(ip, UserName=user, Password=password)
key = sa.TestPlatform.ApiKey
print(key)
sa2 = SessionAssistant(ip, ApiKey=key)
print(sa2.Session)

I propose a correction inside #31

ajbalogh commented 4 years ago

will be available in build in 1.0.0.59