Project

Profile

Help

Issue #7087

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

Added by mdellweg 4 months ago. Updated 4 months 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 - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision fb154f82 View on GitHub
Added by Fabricio Aguiar 4 months ago

Revert "Splitting seralizers into read and write ones"

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

History

#1 Updated by ggainey 4 months 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

#2 Updated by fao89 4 months ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 76

#3 Updated by fao89 4 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89

#4 Updated by pulpbot 4 months ago

  • Status changed from ASSIGNED to POST

#5 Updated by dkliban@redhat.com 4 months 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

#6 Updated by daviddavis 4 months ago

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

#7 Updated by Anonymous 4 months ago

  • Status changed from POST to MODIFIED

#8 Updated by fao89 4 months ago

  • Sprint/Milestone set to 3.5.0

#9 Updated by pulpbot 4 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF