@@ -317,7 +317,7 @@ function datasets(
317317 e isa JuliaHubException && rethrow (e)
318318 e isa JuliaHubError && rethrow (e)
319319 throw (
320- JuliaHubError (" Error while retrieving datasets from the server" , e, catch_backtrace ()),
320+ JuliaHubError (" Error while retrieving datasets from the server" , e, catch_backtrace ())
321321 )
322322 end
323323 # It might happen that some of the elements of the `datasets` array can not be parsed for some reason,
@@ -406,7 +406,7 @@ function dataset end
406406@_authuser function dataset (
407407 dsref:: _DatasetRefTuple ;
408408 throw:: Bool = true ,
409- auth:: Authentication = __auth__ ()
409+ auth:: Authentication = __auth__ (),
410410)
411411 username, dataset_name = dsref
412412 for dataset in datasets (; shared= true , auth)
@@ -447,7 +447,7 @@ function delete_dataset end
447447@_authuser function delete_dataset (
448448 dsref:: _DatasetRefTuple ;
449449 force:: Bool = false ,
450- auth:: Authentication = __auth__ ()
450+ auth:: Authentication = __auth__ (),
451451)
452452 username, dataset_name = dsref
453453 _assert_current_user (username, auth; op= " delete_dataset" )
@@ -548,7 +548,7 @@ function upload_dataset end
548548 # we must throw an invalid request error.
549549 throw (
550550 InvalidRequestError (
551- " Dataset '$dataset_name ' for user '$username ' already exists, but update=false and replace=false." ,
551+ " Dataset '$dataset_name ' for user '$username ' already exists, but update=false and replace=false."
552552 ),
553553 )
554554 elseif replace
@@ -600,7 +600,7 @@ function upload_dataset end
600600 # dtype).
601601 throw (
602602 InvalidRequestError (
603- " Local data type ($dtype ) does not match existing dataset dtype $(upload_config[" dataset_type" ]) " ,
603+ " Local data type ($dtype ) does not match existing dataset dtype $(upload_config[" dataset_type" ]) "
604604 ),
605605 )
606606 end
@@ -622,7 +622,7 @@ function upload_dataset end
622622 if ! all (ismissing .((description, tags, visibility, license, groups)))
623623 update_dataset (
624624 (username, dataset_name); auth,
625- description, tags, visibility, license, groups
625+ description, tags, visibility, license, groups,
626626 )
627627 end
628628 # If everything was successful, we'll return an updated DataSet object.
@@ -843,7 +843,7 @@ function download_dataset(
843843 dsref:: _DatasetRefTuple ,
844844 local_path:: AbstractString ;
845845 auth:: Authentication = __auth__ (),
846- kwargs...
846+ kwargs... ,
847847)
848848 ds = dataset (dsref; auth)
849849 download_dataset (ds, local_path; auth, kwargs... )
@@ -858,7 +858,7 @@ function download_dataset(
858858)
859859 dataset. dtype ∈ [" Blob" , " BlobTree" ] || throw (
860860 InvalidRequestError (
861- " Download only supported for Blobs and BlobTrees, but '$(dataset. name) ' is $(dataset. type) " ,
861+ " Download only supported for Blobs and BlobTrees, but '$(dataset. name) ' is $(dataset. type) "
862862 ),
863863 )
864864
0 commit comments