[Pulp-dev] FilterSets in plugin API

Tatiana Tereshchenko ttereshc at redhat.com
Tue Sep 19 00:58:40 UTC 2017


There are FilterSets [0][1] defined for master models, so they can be used
as-is or extended by plugin for detail models. Currently they don't seem to
be available via plugin API and plugin defines its own FilterSet [2]. Is it
intentional?
I suggest to add them to pulpcore.plugin.

Thanks,
Tanya

[0]
https://github.com/pulp/pulp/blob/ba6792d9740ab7e104df8147806e80fe22ae483a/platform/pulpcore/app/viewsets/repository.py#L68-L115
[1]
https://github.com/pulp/pulp/blob/ba6792d9740ab7e104df8147806e80fe22ae483a/platform/pulpcore/app/viewsets/content.py#L12
[2]
https://github.com/pulp/pulp_file/blob/d684f75ea148711f91ea1e1800f44a941275f606/pulp_file/app/viewsets.py#L7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-dev/attachments/20170919/43894032/attachment.htm>


More information about the Pulp-dev mailing list