Skip to content

Commit c2c24cc

Browse files
author
Janneck Wullschleger
committed
adjusted doc string of Request calss to allow str and Matcher as path parameter
1 parent 697a6a2 commit c2c24cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pact/pact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def __init__(self, method, path, body=None, headers=None, query=''):
297297
Create a new instance of Request.
298298
299299
:param method: The HTTP method that is expected.
300-
:type method: str
300+
:type method: str, Matcher
301301
:param path: The URI path that is expected on this request.
302302
:type path: str
303303
:param body: The contents of the body of the expected request.

0 commit comments

Comments
 (0)