Skip to content

Commit

Permalink
updating docstring for preserve_owner parameter updated behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
shaikh-ma authored Dec 12, 2024
1 parent 3ce3b6d commit b994da9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions scrunch/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -2367,12 +2367,13 @@ def fork(self, description=None, name=None, is_published=False,
If True, the fork will be visible to viewers of ds. If False it
will only be viewable to editors of ds.
:param preserve_owner: bool, default=True
If True, the owner of the fork will be the same as the parent
dataset otherwise the owner will be the current user in the
session and the Dataset will be set under `Personal Project`.
If preserve_owner=True and project=None, the fork dataset will
be created in the same location as source dataset.
If preserve_owner=False and project is passed, the fork dataset
will be created in the given project location.
:param project: str, default=None
The project ID or URL for the project in which the fork
dataset should be created.
The project ID or URL for the project in which the fork dataset
should be created.
If project=None, the fork dataset will be created in the same
location as the source dataset.
Expand Down

0 comments on commit b994da9

Please sign in to comment.