Skip to content
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

fix(cli): Implement downloading of assets with usecases #196

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DanielVoogsgerd
Copy link
Member

Okay this started out as providing the DownloadAssetRequest to the download_data api in cli, but this cascaded into a whole refactor lead by the type system. Marking this PR as draft as I have no real way of testing this right now, nor the time to do so. However, without this PR we cannot really have any workflow return a result to the cli without crashing.

This also disables some functionality explicity in as specified in #195

Things still left to do:

  • Update relevant documentation
  • Test
  • Fix broken endpoints & re-enable

@@ -1412,78 +1412,86 @@
///
/// # Panics
/// This function may panic if the input `vm` or `result` pointed to a NULL-pointer, or if `data_dir` did not point to a valid UTF-8 string.
///
// TODO: Resolve this problem

Check notice

Code scanning / devskim

A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note

Suspicious comment
return Err(DataError::UnavailableDataset { name, locs: info.access.keys().cloned().collect() });
},
}
// TODO: We need to generate a minimal workflow to only check if an download is

Check notice

Code scanning / devskim

A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note

Suspicious comment
@@ -152,6 +152,7 @@
}

// Load it
// FIXME: The store should not fail if a single dataset is not parsible

Check notice

Code scanning / devskim

A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note

Suspicious comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant