This commit is contained in:
Jan-Erik Rediger 2024-03-05 14:21:06 +01:00 коммит произвёл Jan-Erik Rediger
Родитель 68e89b91ee
Коммит 3399efcaa3
5 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -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: