Actions
Issue #4372
closedFix content docstring
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Easy Fix
Sprint:
Sprint 49
Quarter:
Description
https://github.com/pulp/pulp_file/blob/master/pulp_file/app/models.py#L15
"0 or more" is incorrect. Each FileContent is exactly 1 file.
https://github.com/pulp/pulpcore-plugin/pull/37#discussion_r252740249
Once this is fixed in the file plugin, please update the plugin writer's guide as well where we use the FileContent as an example in (at least) 2 places.
pulpcore-plugin/docs/plugin-writer/concepts/subclassing/models.rst
Actions
Fix FileContent description in docs
File content is always 1 file. Fixed in models docstring.
re: #4372 https://pulp.plan.io/issues/4372
Required PR: https://github.com/pulp/pulpcore-plugin/pull/61
Signed-off-by: Pavel Picka ppicka@redhat.com