Skip to content

Commit f1fd855

Browse files
committed
remove optional from typehints
1 parent 5a0a964 commit f1fd855

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ayon_api/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,9 @@ def entity_data_json_default(value: Any) -> Any:
416416

417417
def slugify_string(
418418
input_string: str,
419-
separator: Optional[str] = "_",
420-
slug_whitelist: Optional[Iterable[str]] = SLUGIFY_WHITELIST,
421-
split_chars: Optional[Iterable[str]] = SLUGIFY_SEP_WHITELIST,
419+
separator: str = "_",
420+
slug_whitelist: Iterable[str] = SLUGIFY_WHITELIST,
421+
split_chars: Iterable[str] = SLUGIFY_SEP_WHITELIST,
422422
min_length: int = 1,
423423
lower: bool = False,
424424
make_set: bool = False,

0 commit comments

Comments
 (0)