@@ -85,7 +85,7 @@ def a_hundred_metrics() -> List[Dict[str, str]]:
85
85
def serialize_metrics (
86
86
metrics : List [Dict ], dimensions : List [Dict ], namespace : str , metadatas : List [Dict ] = None
87
87
) -> Dict :
88
- """ Helper function to build EMF object from a list of metrics, dimensions """
88
+ """Helper function to build EMF object from a list of metrics, dimensions"""
89
89
my_metrics = MetricManager (namespace = namespace )
90
90
for dimension in dimensions :
91
91
my_metrics .add_dimension (** dimension )
@@ -102,7 +102,7 @@ def serialize_metrics(
102
102
103
103
104
104
def serialize_single_metric (metric : Dict , dimension : Dict , namespace : str , metadata : Dict = None ) -> Dict :
105
- """ Helper function to build EMF object from a given metric, dimension and namespace """
105
+ """Helper function to build EMF object from a given metric, dimension and namespace"""
106
106
my_metrics = MetricManager (namespace = namespace )
107
107
my_metrics .add_metric (** metric )
108
108
my_metrics .add_dimension (** dimension )
@@ -114,7 +114,7 @@ def serialize_single_metric(metric: Dict, dimension: Dict, namespace: str, metad
114
114
115
115
116
116
def remove_timestamp (metrics : List ):
117
- """ Helper function to remove Timestamp key from EMF objects as they're built at serialization """
117
+ """Helper function to remove Timestamp key from EMF objects as they're built at serialization"""
118
118
for metric in metrics :
119
119
del metric ["_aws" ]["Timestamp" ]
120
120
0 commit comments