We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f78c6a2 commit 302f23bCopy full SHA for 302f23b
netboxapi/mapper.py
@@ -242,7 +242,7 @@ def _build_new_mapper_from(
242
mapper.__upstream_attrs__ = []
243
mapper.__foreign_keys__ = []
244
for attr, val in mapper_attributes.items():
245
- if isinstance(val, dict) and "id" in val:
+ if isinstance(val, dict) and "id" in val and "url" in val:
246
mapper.__foreign_keys__.append(attr)
247
mapper._set_property_foreign_key(attr, val)
248
else:
0 commit comments