Skip to content

Commit d595859

Browse files
fix format.
1 parent d47181e commit d595859

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
@@ -565,9 +565,7 @@ def add_headers(self, request: PreparedRequest, **kwargs: Any) -> None: # pylin
565565
# For empty bodies, explicitly set the content hash header to the SHA256 of an empty string
566566
body = request.body
567567
if body in (None, b"", ""):
568-
request.headers["x-amz-content-sha256"] = (
569-
"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
570-
)
568+
request.headers["x-amz-content-sha256"] = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
571569

572570
aws_request = AWSRequest(
573571
method=request.method, url=url, params=params, data=request.body, headers=dict(request.headers)

0 commit comments

Comments
 (0)