Project

Profile

Help

Issue #7087

closed

"module 'pulpcore.client.pulp_file' has no attribute 'FileFileContent'"

Added by mdellweg over 4 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
API Bindings
Sprint:
Sprint 76
Quarter:

Description

In pulp-file-client==1.0.1 the symbol FileFileContent went missing. FileFileContentRead however is present.


Related issues

Related to Pulp - Task #7108: Provide OpenAPI v3 schema for pulpcore and plugin REST APIsCLOSED - CURRENTRELEASEfao89

Actions
Actions #1

Updated by ggainey over 4 years ago

<dkliban> x9c4: what change do you want to see?
<fao89> seems to be related with the write_only bindings change
<dkliban> yes it is
<x9c4> Yes, and we need the  'FileFileContent' serializer for write
<dkliban> oh ok
<x9c4> 'FileFileContentRead' is there.
<dkliban> i understand now ... we need the write version which is FileFileContent
Actions #2

Updated by fao89 over 4 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 76
Actions #3

Updated by fao89 over 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89
Actions #4

Updated by pulpbot over 4 years ago

  • Status changed from ASSIGNED to POST
Actions #5

Updated by dkliban@redhat.com over 4 years ago

We decided to abandon the dynamically split serializer approach to solving the "write_only" field problem. Instead we are going to switch to using OpenAPI v3 for pulpcore 3.6. We can achieve this by switching to drf-spectacular. drf-spectacular provides a guide for migrating from drf-yasg.

https://drf-spectacular.readthedocs.io/en/latest/ https://drf-spectacular.readthedocs.io/en/latest/drf_yasg.html

Added by Fabricio Aguiar over 4 years ago

Revision fb154f82 | View on GitHub

Revert "Splitting seralizers into read and write ones"

https://pulp.plan.io/issues/7087 closes #7087

Actions #6

Updated by daviddavis over 4 years ago

  • Related to Task #7108: Provide OpenAPI v3 schema for pulpcore and plugin REST APIs added
Actions #7

Updated by Anonymous over 4 years ago

  • Status changed from POST to MODIFIED
Actions #8

Updated by fao89 over 4 years ago

  • Sprint/Milestone set to 3.5.0
Actions #9

Updated by pulpbot over 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF