Skip to content

Commit

Permalink
Manually add accept header to add_pipeline_to_bundle function
Browse files Browse the repository at this point in the history
  • Loading branch information
alexiswl committed Jun 27, 2024
1 parent caf5a25 commit 1f43573
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/wrapica/bundle/functions/bundle_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,11 @@ def add_pipeline_to_bundle(

# Initialise the API client
with ApiClient(get_icav2_configuration()) as api_client:
# Set accept header for adding pipeline to bundle
api_client.set_default_header(
header_name="Accept",
header_value="application/vnd.illumina.v3+json"
)
# Create an instance of the API class
api_instance = BundlePipelineApi(api_client)

Expand Down

0 comments on commit 1f43573

Please sign in to comment.