Skip to content

Commit 686ccf8

Browse files
smaller diff
Signed-off-by: Ramon Petgrave <ramon.petgrave64@gmail.com>
1 parent 2c0508c commit 686ccf8

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

sigstore/_internal/rekor/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,10 @@ def post(
159159
"""
160160
Submit a new entry for inclusion in the Rekor log.
161161
"""
162+
162163
payload = proposed_entry.model_dump(mode="json", by_alias=True)
163164
_logger.debug(f"proposed: {json.dumps(payload)}")
165+
164166
resp: requests.Response = self.session.post(self.url, json=payload)
165167
try:
166168
resp.raise_for_status()

test/integration/cli/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
from collections.abc import Callable
1514
from pathlib import Path
15+
from typing import Callable
1616

1717
import pytest
1818

test/unit/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@
1818
import os
1919
import re
2020
from collections import defaultdict
21-
from collections.abc import Callable, Iterator
21+
from collections.abc import Iterator
2222
from io import BytesIO
2323
from pathlib import Path
24+
from typing import Callable
2425
from urllib.parse import urlparse
2526

2627
import jwt

0 commit comments

Comments
 (0)