Skip to content

Commit

Permalink
Fixed type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
fbanados committed Nov 20, 2024
1 parent 5259317 commit c41456c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/morphodict/site/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import os
import secrets
from typing import Optional, TypedDict, Dict, Callable
from typing import Optional, TypedDict, Dict, Callable, Any

from environs import Env

Expand Down Expand Up @@ -405,7 +405,7 @@ def defaultDatabasePath():
DEFAULT_TARGET_LANGUAGE_PHRASE_TAGS: Optional[tuple[str, ...]] = tuple()

# phrase_translation default check (workaround for alternative FST tag systems)
DEFAULT_PHRASE_TRANSLATE_CHECK: Callable[[any], bool] = lambda x : False
DEFAULT_PHRASE_TRANSLATE_CHECK: Callable[[Any], bool] = lambda x : False

# Used for the bulk search API
SPEECH_DB_EQ = ["_"]
Expand Down

0 comments on commit c41456c

Please sign in to comment.