Skip to content

Commit a1a7fd2

Browse files
committed
update function signature
1 parent 8464ad3 commit a1a7fd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

broker/alert_ingestion/gen_valid_schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
from pathlib import Path
3636
import logging
37-
from typing import Tuple, BinaryIO, Union
37+
from typing import Tuple, List, BinaryIO, Union
3838
import pickle
3939
import json
4040
import fastavro
@@ -144,7 +144,7 @@ def _reverse_types(field: dict) -> dict:
144144
return field
145145

146146

147-
def _load_Avro(fin: Union[Path, BinaryIO]) -> Tuple[dict, dict]:
147+
def _load_Avro(fin: Union[Path, BinaryIO]) -> Tuple[dict, List[dict]]:
148148
"""
149149
Args:
150150
fin (str or file-like) : Path to, or file-like object representing,

0 commit comments

Comments
 (0)