Skip to content

Commit b06b193

Browse files
add type annotation
1 parent 02a5738 commit b06b193

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/config_init.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
from collections.abc import Callable
1616
import os
17+
from typing import Any
1718

1819
import pandas._config.config as cf
1920
from pandas._config.config import (
@@ -456,7 +457,7 @@ def is_terminal() -> bool:
456457
"""
457458

458459

459-
def is_valid_string_storage(value):
460+
def is_valid_string_storage(value: Any) -> None:
460461
legal_values = ["python", "pyarrow"]
461462
if value not in legal_values:
462463
msg = "Value must be one of python|pyarrow"

0 commit comments

Comments
 (0)