Project

Profile

Help

Issue #4372

Fix content docstring

Added by amacdona@redhat.com over 1 year ago. Updated 11 months 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

Associated revisions

Revision 4c95be21 View on GitHub
Added by ppicka over 1 year ago

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

History

#1 Updated by amacdona@redhat.com over 1 year ago

  • Tags Documentation, Easy Fix, Pulp 3 added

#2 Updated by CodeHeeler over 1 year ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 48

#3 Updated by ppicka over 1 year ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ppicka

#5 Updated by daviddavis over 1 year ago

  • Sprint changed from Sprint 48 to Sprint 49

The PRs were open this sprint so I am bumping this to Sprint 49.

#6 Updated by ppicka over 1 year ago

  • Status changed from POST to MODIFIED

Applied in changeset pulp:commit:pulpcore-plugin|dbac70e38a3552d34f1eff61d0715c6f96bb7de1.

#7 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3)

#8 Updated by bmbouter 11 months ago

  • Sprint/Milestone set to 0.1.0

#9 Updated by bmbouter 11 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF