(
params: Partial<{
model_owner: string;
model_name: string;
version_id: string;
destination: string;
}>
)
| 29 | }; |
| 30 | |
| 31 | export const modelProperties = ( |
| 32 | params: Partial<{ |
| 33 | model_owner: string; |
| 34 | model_name: string; |
| 35 | version_id: string; |
| 36 | destination: string; |
| 37 | }> |
| 38 | ) => { |
| 39 | return [ |
| 40 | ...(params.model_owner ? [{ label: "Model Owner", text: params.model_owner }] : []), |
| 41 | ...(params.model_name ? [{ label: "Model Name", text: params.model_name }] : []), |
| 42 | ...(params.version_id ? [{ label: "Model Version", text: params.version_id }] : []), |
| 43 | ...(params.destination ? [{ label: "Destination Model", text: params.destination }] : []), |
| 44 | ]; |
| 45 | }; |
| 46 | |
| 47 | export const streamingProperty = (params: { stream?: boolean }) => { |
| 48 | return [{ label: "Streaming Enabled", text: String(!!params.stream) }]; |
no outgoing calls
no test coverage detected
searching dependent graphs…