chore: type-sig `schema` in `Document.from_dict` has None default (#346)

master
Caleb Hattingh 2024-09-05 16:28:35 +02:00 committed by GitHub
parent d703f5f7da
commit 0dbd81cbb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ class Document:
pass pass
@staticmethod @staticmethod
def from_dict(py_dict: dict, schema: Optional[Schema]) -> Document: def from_dict(py_dict: dict, schema: Optional[Schema] = None) -> Document:
pass pass
def to_dict(self) -> Any: def to_dict(self) -> Any:
@ -435,4 +435,4 @@ class SnippetGenerator:
pass pass
def set_max_num_chars(self, max_num_chars: int) -> None: def set_max_num_chars(self, max_num_chars: int) -> None:
pass pass