Task #5454
closed
Story #5443: [Epic] Remove leading _ from pulpcore model fields
rename _type to pulp_type
Status:
CLOSED - CURRENTRELEASE
Description
All models that inherit from MasterModel have a field called '_type'. This field used to be called 'type', but we added the leading underscore to distinguish it from plugin fields called 'type'. Since this field represents the type of Pulp resource the model represents, it is more appropriate for the field to be called 'pulp_type'.
- Tracker changed from Issue to Task
- % Done set to 0
- Related to Issue #5093: Autogenerated pulp rpm bindings raise an error on import added
- Subject changed from rename _type to resource_type to rename _type to pulp_type
- Sprint/Milestone set to 3.0.0
- Sprint set to Sprint 60
- Description updated (diff)
- Status changed from NEW to ASSIGNED
- Assignee set to fao89
- Status changed from ASSIGNED to POST
- Status changed from POST to CLOSED - WONTFIX
- Related to Task #5550: Remove "_type" / "pulp_type" as a public-facing field, and MasterModelSerializer added
- Status changed from CLOSED - WONTFIX to POST
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
- Status changed from MODIFIED to POST
- Status changed from POST to MODIFIED
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Also available in: Atom
PDF
Renaming _type to pulp_type
closes #5454 https://pulp.plan.io/issues/5454
Required PR: https://github.com/pulp/pulp_file/pull/284 Required PR: https://github.com/pulp/pulpcore-plugin/pull/137 Required PR: https://github.com/PulpQE/pulp-smash/pull/1220 Required PR: https://github.com/pulp/pulp-certguard/pull/31