Apply auto-formatting
This commit is contained in:
Родитель
68e89b91ee
Коммит
3399efcaa3
|
@ -21,6 +21,7 @@ The generated code creates the following:
|
|||
* Two methods for logging an Event metric
|
||||
one with and one without user request info specified
|
||||
"""
|
||||
|
||||
from collections import defaultdict
|
||||
from pathlib import Path
|
||||
from typing import Any, Dict, Optional, List
|
||||
|
|
|
@ -28,6 +28,7 @@ There are two patterns for event structure supported in this environment:
|
|||
|
||||
Therefore, unlike in other outputters, here we don't generate classes for each metric.
|
||||
"""
|
||||
|
||||
from collections import defaultdict
|
||||
from pathlib import Path
|
||||
from typing import Any, Dict, Optional, List
|
||||
|
|
|
@ -20,6 +20,7 @@ see `SUPPORTED_METRIC_TYPES` below.
|
|||
The generated code creates a `ServerEventLogger` class for each ping that has
|
||||
at least one event metric. The class has a `record` method for each event metric.
|
||||
"""
|
||||
|
||||
from collections import defaultdict
|
||||
from pathlib import Path
|
||||
from typing import Any, Dict, Optional, List
|
||||
|
|
|
@ -18,6 +18,7 @@ Then it's the role of the ingestion pipeline to pick the messages up and process
|
|||
Warning: this outputter supports a limited set of metrics,
|
||||
see `SUPPORTED_METRIC_TYPES` below.
|
||||
"""
|
||||
|
||||
from collections import defaultdict
|
||||
from pathlib import Path
|
||||
from typing import Any, Dict, List, Optional
|
||||
|
|
|
@ -129,7 +129,7 @@ def update_lines(
|
|||
|
||||
for line in lines_iter:
|
||||
output.append(line)
|
||||
if line.startswith(f" data_reviews:"):
|
||||
if line.startswith(" data_reviews:"):
|
||||
break
|
||||
|
||||
for line in lines_iter:
|
||||
|
|
Загрузка…
Ссылка в новой задаче