Skip to content
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

Automatically get resource information at instantiation time #86

Open
davidban77 opened this issue Oct 31, 2020 · 1 comment
Open

Automatically get resource information at instantiation time #86

davidban77 opened this issue Oct 31, 2020 · 1 comment

Comments

@davidban77
Copy link
Owner

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants