a0c0f4d3200f31be58caac1a803bcc85622221db,datalab/stackdriver/commands/_monitoring.py,,_list_metric_descriptors,#Any#Any#,86

Before Change


      for metric in gcm._utils.list_metric_descriptors(project_id)
      if fnmatch.fnmatch(metric.type, pattern)
  ]
  return IPython.core.display.HTML(
      datalab.utils.commands.HtmlBuilder.render_table(data))

After Change


  Lists the metric descriptors in the project.
  project_id = args["project"]
  pattern = args["type"] or "*"
  return gcm.MetricDescriptors(project_id=project_id).table(pattern=pattern)


def _list_resource_descriptors(args, _):
  Lists the resource descriptors in the project.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: googledatalab/pydatalab
Commit Name: a0c0f4d3200f31be58caac1a803bcc85622221db
Time: 2016-08-18
Author: supriyagarg@google.com
File Name: datalab/stackdriver/commands/_monitoring.py
Class Name:
Method Name: _list_metric_descriptors


Project Name: googledatalab/pydatalab
Commit Name: a0c0f4d3200f31be58caac1a803bcc85622221db
Time: 2016-08-18
Author: supriyagarg@google.com
File Name: datalab/stackdriver/commands/_monitoring.py
Class Name:
Method Name: _list_resource_descriptors


Project Name: cesium-ml/cesium
Commit Name: 5b5fb4c657f0cdf4fe404aa9daaf99aca83d01cf
Time: 2016-02-24
Author: brettnaul@gmail.com
File Name: mltsp/tests/test_flask_app.py
Class Name:
Method Name: featurize_setup