Get a specific model version.
(
key: IntegrationTaskKey,
params: {
model_owner: string;
model_name: string;
version_id: string;
}
)
| 39 | |
| 40 | /** Get a specific model version. */ |
| 41 | get( |
| 42 | key: IntegrationTaskKey, |
| 43 | params: { |
| 44 | model_owner: string; |
| 45 | model_name: string; |
| 46 | version_id: string; |
| 47 | } |
| 48 | ): ReplicateReturnType<ModelVersion> { |
| 49 | return this.runTask( |
| 50 | key, |
| 51 | (client) => { |
| 52 | return client.models.versions.get(params.model_owner, params.model_name, params.version_id); |
| 53 | }, |
| 54 | { |
| 55 | name: "Get Model Version", |
| 56 | params, |
| 57 | properties: modelProperties(params), |
| 58 | } |
| 59 | ); |
| 60 | } |
| 61 | |
| 62 | /** List model versions. */ |
| 63 | list( |
nothing calls this directly
no test coverage detected