mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 16:50:39 +08:00
chore: normalize frozenset literals and myscale typing (#34327)
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
def convert_to_lower_and_upper_set(inputs: list[str] | set[str]) -> set[str]:
|
||||
from collections.abc import Collection
|
||||
|
||||
|
||||
def convert_to_lower_and_upper_set(inputs: Collection[str]) -> set[str]:
|
||||
"""
|
||||
Convert a list or set of strings to a set containing both lower and upper case versions of each string.
|
||||
Convert a collection of strings to a set containing both lower and upper case versions of each string.
|
||||
|
||||
Args:
|
||||
inputs (list[str] | set[str]): A list or set of strings to be converted.
|
||||
inputs (Collection[str]): A collection of strings to be converted.
|
||||
|
||||
Returns:
|
||||
set[str]: A set containing both lower and upper case versions of each string.
|
||||
|
||||
Reference in New Issue
Block a user