Project

Profile

Help

Issue #4372

closed

Fix content docstring

Added by amacdona@redhat.com about 5 years ago. Updated about 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
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

Also available in: Atom PDF