8d7f94829e3bab2b73f49d132372f264bcf87f5e,tensorboard/backend/application.py,TensorBoardWSGI,_serve_plugins_listing,#TensorBoardWSGI#Any#,305

Before Change


          "Plugin listing: is_active() for %s took %0.3f seconds",
          plugin.plugin_name, elapsed)

      plugin_metadata = plugin.frontend_metadata()._asdict()
      if plugin_metadata["tab_name"] is None:
        plugin_metadata["tab_name"] = plugin.plugin_name
      plugin_metadata["enabled"] = is_active

      es_module_handler = plugin_metadata.pop("es_module_path")
      element_name = plugin_metadata.pop("element_name")
      if element_name is not None and es_module_handler is not None:
        logger.error(
            "Plugin %r declared as both legacy and iframed; skipping",

After Change


      }

      if plugin_metadata.tab_name is not None:
        output_metadata["tab_name"] = plugin_metadata.tab_name
      else:
        output_metadata["tab_name"] = plugin.plugin_name
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tensorflow/tensorboard
Commit Name: 8d7f94829e3bab2b73f49d132372f264bcf87f5e
Time: 2019-08-29
Author: wchargin@gmail.com
File Name: tensorboard/backend/application.py
Class Name: TensorBoardWSGI
Method Name: _serve_plugins_listing


Project Name: uber/petastorm
Commit Name: f57c6162ea1dd0d9958d647a67e717f1de9caace
Time: 2018-12-09
Author: yevgeni@uber.com
File Name: petastorm/tests/test_end_to_end.py
Class Name:
Method Name: test_unlimited_epochs


Project Name: pantsbuild/pants
Commit Name: 08bc2add6e98feefdce36f6f094a15e3e598b1e7
Time: 2016-02-23
Author: stuhood@gmail.com
File Name: src/python/pants/engine/exp/mapper.py
Class Name: AddressMap
Method Name: parse