-
Notifications
You must be signed in to change notification settings - Fork 2
Support AI.SCRIPTEXECUTE and AI.MODELEXECUTE #46
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #46 +/- ##
==========================================
+ Coverage 92.85% 93.46% +0.61%
==========================================
Files 6 6
Lines 546 597 +51
==========================================
+ Hits 507 558 +51
Misses 26 26
Partials 13 13
Continue to review full report at Codecov.
|
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.
Looks good, what about DAG execute? Are you planning to do it in a separate PR?
yes :) |
| } | ||
|
|
||
| func getTLSdetails() (tlsready bool, tls_cert string, tls_key string, tls_cacert string) { | ||
| func getTLSdetails() (tlsready bool, tls_cert, tls_key, tls_cacert string) { |
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.
don't use underscores in Go names; func result tls_cacert should be tlsCacert
don't use underscores in Go names; func result tls_cert should be tlsCert
don't use underscores in Go names; func result tls_key should be tlsKey
| } | ||
|
|
||
| func getTLSdetails() (tlsready bool, tls_cert string, tls_key string, tls_cacert string) { | ||
| func getTLSdetails() (tlsready bool, tls_cert, tls_key, tls_cacert string) { |
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.
don't use underscores in Go names; func result tls_cacert should be tlsCacert
don't use underscores in Go names; func result tls_cert should be tlsCert
don't use underscores in Go names; func result tls_key should be tlsKey
| } | ||
|
|
||
| func getTLSdetails() (tlsready bool, tls_cert string, tls_key string, tls_cacert string) { | ||
| func getTLSdetails() (tlsready bool, tls_cert, tls_key, tls_cacert string) { |
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.
don't use underscores in Go names; func result tls_cacert should be tlsCacert
don't use underscores in Go names; func result tls_cert should be tlsCert
don't use underscores in Go names; func result tls_key should be tlsKey
| return | ||
| } | ||
|
|
||
| func (c *Client) LoadBackend(backend_identifier, location string) (err 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.
don't use underscores in Go names; method parameter backend_identifier should be backendIdentifier
exported method Client.LoadBackend should have comment or be unexported
|
Kudos, SonarCloud Quality Gate passed!
|
| } | ||
|
|
||
| func getTLSdetails() (tlsready bool, tls_cert string, tls_key string, tls_cacert string) { | ||
| func getTLSdetails() (tlsready bool, tls_cert, tls_key, tls_cacert string) { |
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.
don't use underscores in Go names; func result tls_cacert should be tlsCacert
don't use underscores in Go names; func result tls_cert should be tlsCert
don't use underscores in Go names; func result tls_key should be tlsKey
| } | ||
|
|
||
| func ProcessTensorGetReply(reply interface{}, errIn error) (err error, dtype string, shape []int64, data interface{}) { | ||
| func ProcessTensorGetReply(reply interface{}, errIn error) (dtype string, shape []int64, data interface{}, err 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.
exported function ProcessTensorGetReply should have comment or be unexported
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.
Good job :)








Add support for AI.SCRIPTEXECUTE and AI.MODELEXECUTE commands.
Also added support to
minbatchtimeoutto the model interface (included in ModelGet command).