client
client copied to clipboard
DagsHub client libraries
RepoAPI should have a `download()` function that utilizes the `common.download.download_files()` function to download the whole repo or a directory in a repo in a parallelized fashion. ```python repo = RepoAPI("user/repo")...
Right now there's no "neat" way to get a datapoint if you know its path, even though we can do query filtering by path. Suggested syntax: ```python dp = ds.get_datapoint("file.jpg")...
This way you would be able to do ```python dp = ds.head()[0] dp["metadata_field"] = "metadata_value" # Maybe will have to fire this, depending on how much performance tuning we want...
should prevent from oversaturating the network when making a mistake and doing something like: ```python for dp in ds.all(): with ds.metadata_context() as ctx: ctx.upload_metadata(....) ``` Instead of having the context...
I was trying to list files in my data directory, simple enough. I tried running: ```python fs = DagsHubFilesystem(repo_url=url) fs.listdir("data") ``` and got the following error: ValueError: Could not find...
Tried running `dagshub repo --help` and this is the full help text that gets printed: ``` Usage: dagshub repo [OPTIONS] COMMAND [ARGS]... Operations on repo: currently only 'create' Options: --help...
Discovered by Jinen We need to make sure it's usable by users without having them figure out what the list actually has to be, which is a tuple of `(path,...
| Cause | Stack Trace | Notes | |-------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Expects a list of file objects, but I provided strings - documentation requests a string of lists | Traceback (most...
When uploading a new directory with the CLI ```bash dagshub upload ``` The directory is uploaded using DVC. When uploading a single file using the same command, the file is...
In non-colab Jupyter, we save the entire execution history, i.e. if you run a cell twice, the save notebook will include 2 cell copies, each with the specific things run...