Project

Profile

Help

Issue #3832

Properly handle json input

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

For example:

$ pulp remotes python create --specifier="{"name":"test"}"

The specifier field is parsed as a string, when unquoted it tries to parse the list as separate arguments.

A potential solution is to create a new JSON ParamType: http://click.pocoo.org/6/parameters/#parameter-type and use that.

History

#1 Updated by daviddavis over 2 years ago

  • Sprint/Milestone set to Proof of concept

#2 Updated by daviddavis 6 months ago

  • Status changed from NEW to CLOSED - WONTFIX

Please register to edit this issue

Also available in: Atom PDF