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

Context doesn't work with @property #128

Open
abates opened this issue Mar 29, 2024 · 0 comments
Open

Context doesn't work with @property #128

abates opened this issue Mar 29, 2024 · 0 comments

Comments

@abates
Copy link
Contributor

abates commented Mar 29, 2024

Environment

  • Python version: >= 3.8
  • Nautobot version: Any
  • nautobot-design-builder version: 1.0

Expected Behavior

I expect a context that has @property decorators can actually access the properties.

Observed Behavior

The property attributes are not found and an AttributeError is raised when trying to access them.

Steps to Reproduce

  1. Create a property in a context class.
  2. Attempt to access that property from an instance of the context class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant