dd9fe2a7dbb5e1dabe9f5a4d0fbeff76a71f6624,tensorboard/plugins/text/metadata.py,,parse_plugin_metadata,#Any#,50

Before Change


    A `TextPluginData` protobuf object.
  
  result = plugin_data_pb2.TextPluginData()
  result.ParseFromString(tf.compat.as_bytes(content))
  if result.version == 0:
    return result
  else:
    logger.warn(

After Change


  Returns:
    A `TextPluginData` protobuf object.
  
  if not isinstance(content, bytes):
    raise TypeError("Content type must be bytes")
  result = plugin_data_pb2.TextPluginData.FromString(content)
  if result.version == 0:
    return result
  else:
    logger.warn(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 12

Instances


Project Name: tensorflow/tensorboard
Commit Name: dd9fe2a7dbb5e1dabe9f5a4d0fbeff76a71f6624
Time: 2018-12-17
Author: nfelt@users.noreply.github.com
File Name: tensorboard/plugins/text/metadata.py
Class Name:
Method Name: parse_plugin_metadata


Project Name: tensorflow/tensorboard
Commit Name: dd9fe2a7dbb5e1dabe9f5a4d0fbeff76a71f6624
Time: 2018-12-17
Author: nfelt@users.noreply.github.com
File Name: tensorboard/plugins/audio/metadata.py
Class Name:
Method Name: parse_plugin_metadata


Project Name: tensorflow/tensorboard
Commit Name: dd9fe2a7dbb5e1dabe9f5a4d0fbeff76a71f6624
Time: 2018-12-17
Author: nfelt@users.noreply.github.com
File Name: tensorboard/plugins/histogram/metadata.py
Class Name:
Method Name: parse_plugin_metadata


Project Name: tensorflow/tensorboard
Commit Name: dd9fe2a7dbb5e1dabe9f5a4d0fbeff76a71f6624
Time: 2018-12-17
Author: nfelt@users.noreply.github.com
File Name: tensorboard/plugins/pr_curve/metadata.py
Class Name:
Method Name: parse_plugin_metadata


Project Name: tensorflow/tensorboard
Commit Name: dd9fe2a7dbb5e1dabe9f5a4d0fbeff76a71f6624
Time: 2018-12-17
Author: nfelt@users.noreply.github.com
File Name: tensorboard/plugins/scalar/metadata.py
Class Name:
Method Name: parse_plugin_metadata


Project Name: tensorflow/tensorboard
Commit Name: dd9fe2a7dbb5e1dabe9f5a4d0fbeff76a71f6624
Time: 2018-12-17
Author: nfelt@users.noreply.github.com
File Name: tensorboard/plugins/image/metadata.py
Class Name:
Method Name: parse_plugin_metadata