Skip to content

Commit

Permalink
chore: type-sig schema in Document.from_dict has None default (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjrh authored Sep 5, 2024
1 parent d703f5f commit 0dbd81c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tantivy/tantivy.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class Document:
pass

@staticmethod
def from_dict(py_dict: dict, schema: Optional[Schema]) -> Document:
def from_dict(py_dict: dict, schema: Optional[Schema] = None) -> Document:
pass

def to_dict(self) -> Any:
Expand Down Expand Up @@ -435,4 +435,4 @@ class SnippetGenerator:
pass

def set_max_num_chars(self, max_num_chars: int) -> None:
pass
pass

0 comments on commit 0dbd81c

Please sign in to comment.