mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 15:27:47 -02:30
Api issue float (#11757)
* Fix integer/float errors in survey * Add SURVEY_TYPE_MAPPING to constants Add SURVEY_TYPE_MAPPING to constants, and replace usage in a couple of files. Co-authored-by: Alexander Komarov <akomarov.me@gmail.com>
This commit is contained in:
@@ -93,3 +93,5 @@ JOB_FOLDER_PREFIX = 'awx_%s_'
|
||||
# /HOST-DIR:/CONTAINER-DIR:OPTIONS
|
||||
CONTAINER_VOLUMES_MOUNT_TYPES = ['z', 'O', 'ro', 'rw']
|
||||
MAX_ISOLATED_PATH_COLON_DELIMITER = 2
|
||||
|
||||
SURVEY_TYPE_MAPPING = {'text': str, 'textarea': str, 'password': str, 'multiplechoice': str, 'multiselect': str, 'integer': int, 'float': (float, int)}
|
||||
|
||||
Reference in New Issue
Block a user