Skip to content

Commit

Permalink
chore: NamedTuple not TypedDict for 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Aug 1, 2023
1 parent 956a813 commit 79b6c6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pact/verifier_v3.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
"""Classes and methods to verify Contracts (V3 implementation)."""

import os
from typing import TypedDict
from typing import NamedTuple
from pact.ffi.native_verifier import NativeVerifier
from urllib.parse import urlparse
from pact.ffi.verifier import VerifyResult
from pact.pact_exception import PactException

from pact.verify_wrapper import is_url

class CustomHeader(TypedDict):
class CustomHeader(NamedTuple):
"""Custom header to send in the Pact Verifier request."""

name: str
Expand Down

0 comments on commit 79b6c6f

Please sign in to comment.