-
Notifications
You must be signed in to change notification settings - Fork 18
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
*: Add first version of the code #1
Conversation
Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao <[email protected]>
cmd/kubeflow-kernel/main.go
Outdated
// TODO: Using a real s2i client. | ||
s2iClient := s2i.New() | ||
|
||
interpreter := interpreter.New() |
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.
nit: do not shadow package name, ditto for manager and kernel.
pkg/manager/manager.go
Outdated
} | ||
} | ||
|
||
func (m Manager) Execute(code string) (*types.Job, error) { |
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 godoc for public methods
pkg/interpreter/simple/simple.go
Outdated
} | ||
} | ||
|
||
func (i Interpreter) Preprocess(code string) (*types.Parameter, error) { |
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.
ditto, add godoc for public methods
artifacts/kernel.json
Outdated
"kubeflow-kernel", | ||
"{connection_file}" | ||
], | ||
"display_name": "Kubeflow", |
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.
s/Kubeflow/Kubeflow-PythonN?
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 think we will support Python 2 & 3 in the future, while now we can set to Kubeflow-Python3
artifacts/kernel.json
Outdated
"{connection_file}" | ||
], | ||
"display_name": "Kubeflow", | ||
"language": "Python" |
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.
Python3 vs Python2? we probably need to make clear (even though the pr doesn't implement python integration)
For these suggestions about improvements, I have opened some issues to keep track. And I will address other comments today or tomorrow. |
Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao <[email protected]>
@ddysher Addressed, PTAL |
Thanks! btw, can u add /lgtm |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ddysher Assign the PR to them by writing The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
First PR without OWNERS file, manually merge. |
/assign @ddysher