From 05a1bafa158a79fe56e5152599d2d5206c5bea2b Mon Sep 17 00:00:00 2001 From: svlandeg Date: Fri, 28 Aug 2020 14:08:33 +0200 Subject: [PATCH] fix type --- spacy/gold/loggers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/gold/loggers.py b/spacy/gold/loggers.py index 9feec558f..e58d4a4aa 100644 --- a/spacy/gold/loggers.py +++ b/spacy/gold/loggers.py @@ -1,4 +1,4 @@ -from typing import Dict, Any, Tuple, Callable +from typing import Dict, Any, Tuple, Callable, List from ..util import registry from .. import util @@ -67,7 +67,7 @@ def console_logger(): @registry.loggers("spacy.WandbLogger.v1") -def wandb_logger(project_name: str, remove_config_values: list = []): +def wandb_logger(project_name: str, remove_config_values: List[str] = []): import wandb console = console_logger()