#!/usr/bin/env python# -*- coding: utf-8; -*-# Copyright (c) 2021, 2024 Oracle and/or its affiliates.# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/importosimportoci.data_sciencefromads.common.decorator.utilsimportclass_or_instance_methodfromads.common.oci_mixinimportOCIModelMixinENV_VAR_OCI_ODSC_SERVICE_ENDPOINT="OCI_ODSC_SERVICE_ENDPOINT"
[docs]classDSCNotebookSession(OCIDataScienceMixin,oci.data_science.models.NotebookSession):"""Represents a data science notebook session To get the information of an existing notebook session: >>> notebook = DSCNotebookSession.from_ocid(NOTEBOOK_OCID) Get the name of the notebook session >>> notebook.display_name Get the subnet ID of the notebook session >>> notebook.notebook_session_configuration_details.subnet_id """