Actions
Issue #7087
closed"module 'pulpcore.client.pulp_file' has no attribute 'FileFileContent'"
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
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
Updated by fao89 over 4 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 76
Updated by fao89 over 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to fao89
Updated by pulpbot over 4 years ago
- Status changed from ASSIGNED to POST
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
Updated by daviddavis over 4 years ago
- Related to Task #7108: Provide OpenAPI v3 schema for pulpcore and plugin REST APIs added
Updated by Anonymous over 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulpcore|fb154f8227de55d4b019190b18877c568fb4551d.
Updated by pulpbot over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Revert "Splitting seralizers into read and write ones"
https://pulp.plan.io/issues/7087 closes #7087