davidban77 / gns3fy

Python library wrapper around GNS3 Server REST API
https://davidban77.github.io/gns3fy/
56 stars 28 forks source link

Automatically get resource information at instantiation time #86

Open davidban77 opened 3 years ago

davidban77 commented 3 years ago

Currently you need to perform a .get() operation after a resource has been instantiated

prj = Project("test-lab", connector=gns3_connector)

prj.get()

print(prj.stattus)
closed

Ideally it would be done automatically when creating an instance of the resource

Krlosromero commented 3 years ago

Sounds good, I'll give it a try for a PR soon