Skip to content

Commit

Permalink
refactor: rename generators to generate
Browse files Browse the repository at this point in the history
Signed-off-by: JP-Ellis <[email protected]>
  • Loading branch information
JP-Ellis committed Sep 30, 2024
1 parent b44a238 commit 9662008
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Generator module.
"""

from pact.v3.generators.generators import (
from pact.v3.generate.generators import (
Generator,
GeneratorTypes,
GeneratorTypeV3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def random_string(size: Optional[int] = None) -> Generator:
Create a random string generator.
Args:
size (Optional[int], optional):
size:
The size of the string to generate.
"""
return ConcreteGenerator("RandomString", {"size": size})
Expand Down

0 comments on commit 9662008

Please sign in to comment.