class_docstr: Collects metrics and sends them directly to SageMaker Metrics data plane APIs.
class_docstr_tok: ["Collects","metrics","and","sends","them","directly","to","SageMaker","Metrics","data","plane","APIs","."]
docstr: Return self
docstr_tok: ["Return","self"]
code: def __enter__(self):
      """Return self"""
      return self
  
imports: from __future__ import absolute_import
  import datetime
  import logging
  import os
  import time
  import threading
  import queue
  import dateutil.tz
  from sagemaker.session import Session
label_desc: Use image node_id 3 for calling the _MetricsManager obj's underlying member method code with example usage: obj.__enter__() and returns: self