def get_notebook_name()

in scripts/auto-stop-idle/autostop.py [0:0]


def get_notebook_name():
    log_path = '/opt/ml/metadata/resource-metadata.json'
    with open(log_path, 'r') as logs:
        _logs = json.load(logs)
    return _logs['ResourceName']