Skip to content

Commit 750b14b

Browse files
fix format.
1 parent cc9f0f9 commit 750b14b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

pyiceberg/catalog/rest/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -427,9 +427,7 @@ def add_headers(self, request: PreparedRequest, **kwargs: Any) -> None: # pylin
427427
# For empty bodies, explicitly set the content hash header to the SHA256 of an empty string
428428
body = request.body
429429
if body in (None, b"", ""):
430-
request.headers["x-amz-content-sha256"] = (
431-
"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
432-
)
430+
request.headers["x-amz-content-sha256"] = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
433431

434432
aws_request = AWSRequest(
435433
method=request.method, url=url, params=params, data=request.body, headers=dict(request.headers)

0 commit comments

Comments
 (0)