Project

Profile

Help

Issue #6468

closed

Schema generation throws scary errors but succeeds

Added by daviddavis over 4 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 71
Quarter:

Description

Calling http :/pulp/api/v3/docs/api.json succeeds but throws errors:

Traceback (most recent call last):
  File "/usr/local/lib/pulp/lib64/python3.7/site-packages/drf_yasg/inspectors/base.py", line 50, in call_view_method
    return view_method()
  File "/home/vagrant/devel/pulpcore/pulpcore/app/viewsets/base.py", line 250, in get_queryset
    filters[lookup] = self.kwargs[key]
KeyError: 'exporter_pk'

Also available in: Atom PDF