M test/test_http.py +1 -3
@@ 237,6 237,4 @@ def test_infer_freq_http(client):
'inferred_freq': json.dumps(False),
})
series, markers = util.unpack_many_series(res.body)
- # There should be only 5 values, like the call without
- # the "inferred_freq" params
- assert 6 == len(series) == len(markers)
+ assert 5 == len(series) == len(markers)
M tshistory_supervision/http.py +1 -1
@@ 53,7 53,7 @@ edited.add_argument(
help='override from/to_value_date'
)
edited.add_argument(
- 'inferred_freq', type=bool, default=False,
+ 'inferred_freq', type=inputs.boolean, default=False,
help='re-index series on a inferred frequency'
)
edited.add_argument(