Skip to content

Commit

Permalink
fix: added Optional
Browse files Browse the repository at this point in the history
  • Loading branch information
nickprock committed Feb 13, 2024
1 parent f9263ad commit 10f5fb3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any, Dict, List
from typing import Any, Dict, List, Optional

from haystack import component, default_to_dict

Expand Down Expand Up @@ -35,7 +35,7 @@ def __init__(
suffix: str = "",
batch_size: int = 256,
progress_bar: bool = True,
parallel: int = None,
parallel: Optional[int] = None,
):
"""
Create a FastembedTextEmbedder component.
Expand Down

0 comments on commit 10f5fb3

Please sign in to comment.