Skip to content

Commit

Permalink
Potential fix for CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marcopeix committed Sep 3, 2024
1 parent 79a16b6 commit ca2c9f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
17 changes: 1 addition & 16 deletions nbs/src/nixtla_client.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2492,21 +2492,6 @@
")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#| hide\n",
"# test for showing the correct warning if X_df is missing but df has exogenous columns\n",
"df = generate_series(n_series=2, min_length=5, max_length=20, n_static_features=3)\n",
"test_fail(\n",
" lambda: nixtla_client.forecast(df, h=5),\n",
" contains=\"status_code: 422\"\n",
")"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -2519,7 +2504,7 @@
"test_fail(\n",
" lambda: nixtla_client.forecast(df=df, h=1, freq='min', finetune_steps=2),\n",
" contains=\"num_partitions\"\n",
")\n"
")"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion nixtla/nixtla_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1536,7 +1536,7 @@ def plot(
ax=ax,
)

# %% ../nbs/src/nixtla_client.ipynb 53
# %% ../nbs/src/nixtla_client.ipynb 52
def _forecast_wrapper(
df: pd.DataFrame,
client: NixtlaClient,
Expand Down

0 comments on commit ca2c9f1

Please sign in to comment.