GetCellOutputs
Returns outputs of the specified cell.
- TypeScript
- Python
import { cloudApi, serviceClients, Session } from "@yandex-cloud/nodejs-sdk";
const CellOutputsRequest =
cloudApi.datasphere.project_service.CellOutputsRequest;
(async () => {
const authToken = process.env["YC_OAUTH_TOKEN"];
const session = new Session({ oauthToken: authToken });
const client = session.client(serviceClients.ProjectServiceClient);
const result = await client.getCellOutputs(
CellOutputsRequest.fromPartial({
projectId: "projectId",
cellId: "cellId",
// checkpointId: "checkpointId",
// startAt: {
// seconds: 0,
// nanos: 0
// }
})
);
console.log(result);
})();
import os
import grpc
import yandexcloud
from yandex.cloud.datasphere.v1.project_service_pb2 import CellOutputsRequest
from yandex.cloud.datasphere.v1.project_service_pb2_grpc import ProjectServiceStub
token = os.getenv("YC_OAUTH_TOKEN")
sdk = yandexcloud.SDK(token=token)
service = sdk.client(ProjectServiceStub)
response = service.GetCellOutputs(
CellOutputsRequest(
project_id="projectId",
cell_id="cellId",
# checkpoint_id = "checkpointId",
# start_at = Timestamp(
# seconds = 0,
# nanos = 0
# )
)
)
print(response)
CellOutputsRequest
projectId
: string
ID of the project to return cell outputs for.
cellId
: string
ID of the cell to return outputs for.
checkpointId
: string
ID of the checkpoint to return cell outputs for.
startAt
: google.protobuf.Timestamp
Timestamp from which to return outputs.
CellOutputsResponse
outputs
: string
List of outputs.