Skip to content

Commit

Permalink
generator guide signature update
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Martin <[email protected]>
  • Loading branch information
jmartin-tech committed Aug 28, 2024
1 parent 20f5ce4 commit 5e5f19b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/contributing.generator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ So, in the constructor, we first call the parent constructor using ``super().__i

.. code-block:: python
def __init__(self, name, generations=10):
super().__init__(name, generations=generations)
def __init__(self, name, config_root=_config):
super().__init__(name, config_root=config_root)
if os.getenv("REPLICATE_API_TOKEN", default=None) is None:
raise ValueError(
Expand Down

0 comments on commit 5e5f19b

Please sign in to comment.