Project

Profile

Help

Story #7718

closed

As a plugin writer, I am able to read data from the context passed to CreatedResourceSerializer

Added by lmjachky over 3 years ago. Updated over 3 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:
Quarter:

Description

In pulp_container, there is a requirement to retrieve data from a request object which should be passed to one serializer field within the field context.

Current workflow does not allow us to get the data when the field is looked up from the task's serializer: https://github.com/pulp/pulpcore/blob/20c6b7617e9721792fea3802704f0b9d5716e993/pulpcore/app/serializers/task.py#L32

Actions #1

Updated by lmjachky over 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to lmjachky
Actions #2

Updated by pulpbot over 3 years ago

  • Status changed from ASSIGNED to POST

Added by Lubos Mjachky over 3 years ago

Revision 4063c346 | View on GitHub

Pass an adjusted request object to the serializer

closes #7718

Actions #3

Updated by Anonymous over 3 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #4

Updated by daviddavis over 3 years ago

  • Sprint/Milestone set to 3.9.0
Actions #5

Updated by pulpbot over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF