-
Notifications
You must be signed in to change notification settings - Fork 31
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
Issue 1036 | Add program upload #1041
Conversation
def files(self) -> List[str]: | ||
"""Returns list of available files produced by programs to download.""" | ||
raise NotImplementedError | ||
|
||
def download(self, file: str, download_location: str): | ||
def file_download(self, file: str, download_location: str): |
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.
I don't think anyone has implemented their own provider, so this probably is more academic than anything else, but for sake of completeness: should we deprecate the download
function?
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.
It is "experimental" feature :)
but anyway it is a good practice. Deprecated download
in 6e690da
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.
do we need to deprecate the other functions too? (*hides*)
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.
not, upload
though. That is why I though it is a strange thing to deprecate half and not the other
Summary
Adds program upload
Details and comments
Following
build -> deploy -> run
flowOld interface where we provide full
Program
definition on each run still works.Example notebook: https://github.com/Qiskit-Extensions/quantum-serverless/blob/issue-1036/upload-programs/docs/getting_started/experimental/upload_program.ipynb
This is minimal implementation. Additional things that need to be added in following PRs:
Closes #1036