Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Avoid exception when parsing arrays in raw data #1910

Merged
merged 1 commit into from
Jun 16, 2022

Commits on Jun 16, 2022

  1. Avoid exception when parsing arrays in raw data

    When submitting a facility via the API the raw data for fields like
    `product_type` can contain an array value. Attempting to call `fload()` on a
    list was raiding a `TypeError` rather than a `ValueError`, resulting in an
    unhandled exception in the `try_parse_int_from_float` helper.
    jwalgran committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    fd4d145 View commit details
    Browse the repository at this point in the history