Project

Profile

Help

Task #1275

closed

refactor TaskStatus serializer to inherit from ModelSerializer

Added by amacdona@redhat.com over 8 years ago. Updated almost 5 years ago.

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

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

The other mongoengine models have a serializer class that inherits from ModelSerializer here:

https://github.com/pulp/pulp/blob/master/server/pulp/server/webservices/views/serializers/__init__.py

The model should know about the serializer, example:

https://github.com/pulp/pulp/blob/master/server/pulp/server/db/model/__init__.py

This convention needs to be implemented so that mongoengine document serialization can occur without knowing the document type.

Actions #1

Updated by mhrivnak almost 8 years ago

  • Sprint Candidate changed from Yes to No
Actions #2

Updated by bmbouter almost 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #3

Updated by bmbouter almost 5 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

Actions #4

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF