MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / OnComplete

Method OnComplete

service/ai-local/iml.go:158–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

156}
157
158func (i *imlLocalModelInstallStateService) OnComplete() {
159 i.IServiceGet = universally.NewGet[LocalModelInstallState, ai.LocalModelInstallState](i.store, i.fromEntity)
160 i.IServiceCreate = universally.NewCreator[CreateLocalModelInstallState, ai.LocalModelInstallState](i.store, "ai_local_model_install_state", i.createEntityHandler, i.uniquestHandler, i.labelHandler)
161 i.IServiceEdit = universally.NewEdit[EditLocalModelInstallState, ai.LocalModelInstallState](i.store, i.updateHandler, i.labelHandler)
162 i.IServiceDelete = universally.NewDelete[ai.LocalModelInstallState](i.store)
163}
164
165func (i *imlLocalModelInstallStateService) fromEntity(e *ai.LocalModelInstallState) *LocalModelInstallState {
166 return &LocalModelInstallState{

Callers

nothing calls this directly

Calls 3

NewGetFunction · 0.92
NewCreatorFunction · 0.92
NewEditFunction · 0.92

Tested by

no test coverage detected