Skip to content

Commit 1ef9f2f

Browse files
fix format.
1 parent a8deac9 commit 1ef9f2f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pyiceberg/catalog/rest/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -439,9 +439,7 @@ def add_headers(self, request: PreparedRequest, **kwargs: Any) -> None: # pylin
439439
# For empty bodies, explicitly set the content hash header to the SHA256 of an empty string
440440
body = request.body
441441
if body in (None, b"", ""):
442-
request.headers["x-amz-content-sha256"] = (
443-
"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
444-
)
442+
request.headers["x-amz-content-sha256"] = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
445443

446444
aws_request = AWSRequest(
447445
method=request.method, url=url, params=params, data=request.body, headers=dict(request.headers)

0 commit comments

Comments
 (0)