mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
set ComputeOutput
This commit is contained in:
parent
015b212eda
commit
2587c4d4b9
@ -26,7 +26,10 @@ import {
|
|||||||
getInitialValues,
|
getInitialValues,
|
||||||
validationSchema
|
validationSchema
|
||||||
} from '../../../../models/FormStartComputeDataset'
|
} from '../../../../models/FormStartComputeDataset'
|
||||||
import { ComputeAlgorithm } from '@oceanprotocol/lib/dist/node/ocean/interfaces/Compute'
|
import {
|
||||||
|
ComputeAlgorithm,
|
||||||
|
ComputeOutput
|
||||||
|
} from '@oceanprotocol/lib/dist/node/ocean/interfaces/Compute'
|
||||||
import { AssetSelectionAsset } from '../../../molecules/FormFields/AssetSelection'
|
import { AssetSelectionAsset } from '../../../molecules/FormFields/AssetSelection'
|
||||||
import { SearchQuery } from '@oceanprotocol/lib/dist/node/metadatacache/MetadataCache'
|
import { SearchQuery } from '@oceanprotocol/lib/dist/node/metadatacache/MetadataCache'
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
@ -405,7 +408,10 @@ export default function Compute({
|
|||||||
computeAlgorithm.transferTxId = algorithmAssetOrderId
|
computeAlgorithm.transferTxId = algorithmAssetOrderId
|
||||||
Logger.log('[compute] Starting compute job.')
|
Logger.log('[compute] Starting compute job.')
|
||||||
|
|
||||||
const output = {}
|
const output: ComputeOutput = {
|
||||||
|
publishAlgorithmLog: true,
|
||||||
|
publishOutput: true
|
||||||
|
}
|
||||||
const response = await ocean.compute.start(
|
const response = await ocean.compute.start(
|
||||||
ddo.id,
|
ddo.id,
|
||||||
assetOrderId,
|
assetOrderId,
|
||||||
|
Loading…
Reference in New Issue
Block a user