natcap / urban-online-workflow

This repository hosts the beta implementation of the Urban Online ES Workflow. The project is intended to give urban planners the ability to create and assess scenarios using InVEST Urban models.
1 stars 5 forks source link

/scenarios/{session_id} ValidationError #43

Closed davemfish closed 1 year ago

davemfish commented 1 year ago

This is raised when trying to get all the existing scenarios for a user. Maybe because an invalid scenario was created somehow?

urban-online-workflow-api-1       | pydantic.error_wrappers.ValidationError: 3 validation errors for Scenario
urban-online-workflow-api-1       | response -> 0 -> wkt
urban-online-workflow-api-1       |   none is not an allowed value (type=type_error.none.not_allowed)
urban-online-workflow-api-1       | response -> 0 -> lulc_url_result
urban-online-workflow-api-1       |   none is not an allowed value (type=type_error.none.not_allowed)
urban-online-workflow-api-1       | response -> 0 -> lulc_stats
urban-online-workflow-api-1       |   none is not an allowed value (type=type_error.none.not_allowed)
davemfish commented 1 year ago

related to #40

davemfish commented 1 year ago

This is fixed