Skip to content

Commit 20d7586

Browse files
Nick SchoutenNick Schouten
Nick Schouten
authored and
Nick Schouten
committed
apparently you want to still support 3.8 :o who does that. It is deprecated! 😠
1 parent 9a28376 commit 20d7586

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

papermill/iorw.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,7 @@ def _get_auth_kwargs(cls):
177177
@classmethod
178178
def _get_read_kwargs(cls):
179179
kwargs = cls._get_auth_kwargs() or {'headers': {}}
180-
kwargs['headers'] |= {
181-
'Accept': os.environ.get('PAPERMILL_HTTP_ACCEPT_HEADER', 'application/json')
182-
}
180+
kwargs['headers']['Accept'] = os.environ.get('PAPERMILL_HTTP_ACCEPT_HEADER', 'application/json')
183181
return kwargs
184182

185183
@classmethod

0 commit comments

Comments
 (0)