-
Notifications
You must be signed in to change notification settings - Fork 631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DL-815] Unifying src_token and dest_token to token #2038
Conversation
deeplake/util/exceptions.py
Outdated
|
||
|
||
class UnsupportedParameterException(Exception): | ||
def __init__(self, message): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
def __init__(self, message): | |
pass |
deeplake/api/dataset.py
Outdated
|
||
Returns: | ||
Dataset: New dataset object. | ||
|
||
Raises: | ||
DatasetHandlerError: If a dataset already exists at destination path and overwrite is False. | ||
UnsupportedParameterException: If parameter that is no longer supported is beeing called. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UnsupportedParameterException: If parameter that is no longer supported is beeing called. | |
UnsupportedParameterException: If a parameter that is no longer supported is specified. |
docs/source/deeplake.api.dataset.rst
Outdated
@@ -27,11 +27,11 @@ deeplake.api.dataset | |||
|
|||
See :func:`deeplake.like`. | |||
|
|||
.. staticmethod:: copy(src: Union[str, pathlib.Path, Dataset], dest: Union[str, pathlib.Path], tensors: Optional[List[str]] = None, overwrite: bool = False, src_creds=None, src_token=None, dest_creds=None, dest_token=None, num_workers: int = 0, scheduler="threaded", progressbar=True) | |||
.. staticmethod:: copy(src: Union[str, pathlib.Path, Dataset], dest: Union[str, pathlib.Path], tensors: Optional[List[str]] = None, overwrite: bool = False, src_creds=None dest_creds=None, num_workers: int = 0, scheduler="threaded", progressbar=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add token
docs/source/deeplake.api.dataset.rst
Outdated
|
||
See :func:`deeplake.copy`. | ||
|
||
.. staticmethod:: deepcopy(src: Union[str, pathlib.Path], dest: Union[str, pathlib.Path], tensors: Optional[List[str]] = None, overwrite: bool = False, src_creds=None, src_token=None, dest_creds=None, dest_token=None, num_workers: int = 0, scheduler="threaded", progressbar=True, public: bool = False, verbose: bool = True) | ||
.. staticmethod:: deepcopy(src: Union[str, pathlib.Path], dest: Union[str, pathlib.Path], tensors: Optional[List[str]] = None, overwrite: bool = False, src_creds=None, dest_creds=None, num_workers: int = 0, scheduler="threaded", progressbar=True, public: bool = False, verbose: bool = True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add token
🚀 🚀 Pull Request
Checklist:
coverage-rate
upChanges
Changed src_token, dest_token to token in copy and deepcopy