nautobot / nautobot-app-design-builder

https://docs.nautobot.com/projects/design-builder/en/latest/
Other
8 stars 2 forks source link

Context doesn't work with `@property` #128

Open abates opened 5 months ago

abates commented 5 months ago

Environment

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.