CMS 3D CMS Logo

Functions | Variables
mergeResourcesJson Namespace Reference

Functions

def merge_into (metrics, data, dest)
 

Variables

 datamap
 
 indent
 
 input
 
 key
 
 metrics
 
 output
 
 stdout
 
 usage
 

Function Documentation

◆ merge_into()

def mergeResourcesJson.merge_into (   metrics,
  data,
  dest 
)

Definition at line 15 of file mergeResourcesJson.py.

References print().

Referenced by models.generate().

15 def merge_into(metrics, data, dest):
16  dest["events"] += data["events"]
17  for metric in metrics:
18  dest[metric] += data[metric]
19 
20 
def merge_into(metrics, data, dest)

Variable Documentation

◆ datamap

mergeResourcesJson.datamap

Definition at line 34 of file mergeResourcesJson.py.

◆ indent

mergeResourcesJson.indent

Definition at line 56 of file mergeResourcesJson.py.

◆ input

mergeResourcesJson.input

Definition at line 38 of file mergeResourcesJson.py.

◆ key

mergeResourcesJson.key

Definition at line 49 of file mergeResourcesJson.py.

◆ metrics

mergeResourcesJson.metrics

◆ output

mergeResourcesJson.output

Definition at line 30 of file mergeResourcesJson.py.

◆ stdout

mergeResourcesJson.stdout

Definition at line 56 of file mergeResourcesJson.py.

◆ usage

mergeResourcesJson.usage

Definition at line 6 of file mergeResourcesJson.py.