Project

Profile

Help

Task #5454

closed

Story #5443: [Epic] Remove leading _ from pulpcore model fields

rename _type to pulp_type

Added by dkliban@redhat.com about 5 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 60
Quarter:

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'.


Related issues

Related to RPM Support - Issue #5093: Autogenerated pulp rpm bindings raise an error on importCLOSED - CURRENTRELEASEfao89Actions
Related to Pulp - Task #5550: Remove "_type" / "pulp_type" as a public-facing field, and MasterModelSerializerCLOSED - CURRENTRELEASEfao89

Actions

Also available in: Atom PDF