Glenn Matthews

Results 380 comments of Glenn Matthews

Looks like you have a cable that isn't connected to anything on the far end. `null value in column \"termination_a_id\" of relation \"dcim_cable\" violates not-null constraint`

I haven't thought it through in depth, but conceptually it *feels* reasonable to me. :)

Python's `csv` library supports a number of config parameters (https://docs.python.org/3/library/csv.html#dialects-and-formatting-parameters). Would supporting a user-specified `delimiter` be sufficient or do we also need to support user specification of other parameters like...

Can you clarify, is this issue with `/ipam/prefixes/` or with `/api/ipam/prefixes/` or both?

Confirmed under `next`: ``` >>> device = nautobot.dcim.devices.get(name=device_name) >>> device >>> device.tags [] ``` ``` 14:46:57.864 INFO django.server : "GET /api/dcim/devices/?name=Firewall-3 HTTP/1.1" 200 2033 ``` ``` >>> nautobot.extras.tags.all() Traceback (most...

Same in 1.6: ``` >>> device >>> device.tags [] >>> device.update({"tags": ["cee982b6-94b2-41f2-a546-cbed599859c6"]}) True >>> nautobot.extras.tags.all() Traceback (most recent call last): File "", line 1, in File "/Users/glennmatthews/Documents/git-stuff/pynautobot/pynautobot/core/endpoint.py", line 111, in...

Also an issue in 1.6 for foreign keys, not just M2M: ``` >>> nautobot.dcim.sites.all() Traceback (most recent call last): File "", line 1, in File "/Users/glennmatthews/Documents/git-stuff/pynautobot/pynautobot/core/endpoint.py", line 111, in all...

Candidate fix for 2.x: ```diff diff --git a/nautobot/core/api/mixins.py b/nautobot/core/api/mixins.py index 8cc9dfff2..26ddb6c57 100644 --- a/nautobot/core/api/mixins.py +++ b/nautobot/core/api/mixins.py @@ -109,6 +109,9 @@ class WritableSerializerMixin: queryset = self.queryset else: queryset = self.Meta.model.objects +...

I'm not sure I follow - are you saying that if you omit the `display` column, you get an error about the `prefix` column? Can you provide a CSV file...