Skip to content

Commit

Permalink
apparently you want to still support 3.8 :o who does that. It is depr…
Browse files Browse the repository at this point in the history
…ecated! 😠
  • Loading branch information
Nick Schouten authored and Nick Schouten committed Nov 20, 2024
1 parent 9a28376 commit 20d7586
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions papermill/iorw.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,7 @@ def _get_auth_kwargs(cls):
@classmethod
def _get_read_kwargs(cls):
kwargs = cls._get_auth_kwargs() or {'headers': {}}
kwargs['headers'] |= {
'Accept': os.environ.get('PAPERMILL_HTTP_ACCEPT_HEADER', 'application/json')
}
kwargs['headers']['Accept'] = os.environ.get('PAPERMILL_HTTP_ACCEPT_HEADER', 'application/json')
return kwargs

@classmethod
Expand Down

0 comments on commit 20d7586

Please sign in to comment.