nautobot / pynautobot

Nautobot Python SDK
https://pynautobot.readthedocs.io/en/latest/index.html
Apache License 2.0
34 stars 29 forks source link

Field: Local Context Data (Nautobot v2.0.1) #169

Open gygetho opened 4 months ago

gygetho commented 4 months ago

In pynautobot 2.0.2 response.py, Line 253: if k in ["custom_fields", "local_context_data"] or hasattr(lookup, "_json_field")

should be changed to: if k in ["custom_fields", "local_config_context_data"] or hasattr(lookup, "_json_field").

Fieldname "local_context_data" has changed in Nautobot! If you dont change it, you cant have a "url" field in Local Config Data, because this would then be treated as a potential "nautobot endpoint"