[Pulp-dev] [Breaking] Minor change to typed repositories
dalley at redhat.com
Fri Dec 6 20:04:36 UTC 2019
There is a minor change for Pulp 3 plugin writers Repository models merging
today. It's a very simple one-line code change.
On your Repository subclass, define the CONTENT_TYPES constant as a list
with all of the Content types (the classes) supported by this type of
repository, like this:
This change will allow for better performance and validation inside of
Pulpcore, as it knows what types it's dealing with ahead of time.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pulp-dev