Skip to content

v0.3.0: unified upstream and flow-ref error contracts

Latest

Choose a tag to compare

@cyanheads cyanheads released this 10 Aug 02:57
· 1 commit to main since this release
v0.3.0
ecdd37c

unified upstream and flow-ref error contracts

  • Every tool and the oecd://dataflow/{agency_id}/{flow_id} resource declare data.reason and data.recovery.hint for OECD upstream failures via a shared upstreamRefusal() reader (#29)
  • oecd_get_dimension_values and the dataflow resource report an unparseable flow_ref as invalid_flow_ref (ValidationError) instead of dataflow_not_found / a bare NotFound (#27, #28)
  • upstream_error no longer declares retryabledata.retryable is omitted rather than sent as true
  • oecd_list_agencies and oecd_search_datasets no longer restate every remaining failure as upstream_error; undeclared codes now bubble as themselves

CHANGELOG v0.3.0