Skip to content

Commit

Permalink
add headers
Browse files Browse the repository at this point in the history
  • Loading branch information
bubriks committed Nov 11, 2024
1 parent 1798034 commit b9d7321
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/hsfs/core/feature_group_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,8 +631,9 @@ def save_ingestion_run(
"ingestionrun",
]

headers = {"content-type": "application/json"}
return _client._send_request(
"POST", path_params, data=ingestion_run.json(),
"POST", path_params, headers=headers, data=ingestion_run.json(),
)

def get_ingestion_run(
Expand Down

0 comments on commit b9d7321

Please sign in to comment.