Project

Profile

Help

Issue #3839

Handle file parameters

Added by daviddavis over 2 years ago. Updated 6 months ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Certain endpoints have file parameters (such as creating an artifact). We need to handle this in the CLI.


Related issues

Related to Pulp CLI - Task #3836: Convert from coreapi to pyswaggerCLOSED - WONTFIX

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

History

#1 Updated by bizhang over 2 years ago

  • Related to Task #3836: Convert from coreapi to pyswagger added

#2 Updated by bizhang over 2 years ago

This might be something that will "just work"™ when we switch to pyswagger.
Pyswagger parameters includes formData[0] which does support a file primitive [1]

[0] https://github.com/pyopenapi/pyswagger/blob/2b35588be91eacf49d5e021a4af0bfd8c56d416b/pyswagger/spec/v2_0/objects.py#L249
[1] https://github.com/pyopenapi/pyswagger/blob/2b35588be91eacf49d5e021a4af0bfd8c56d416b/pyswagger/primitives/_file.py

#3 Updated by daviddavis 6 months ago

  • Status changed from NEW to CLOSED - WONTFIX

Please register to edit this issue

Also available in: Atom PDF