chore: type-sig `schema` in `Document.from_dict` has None default (#346)
parent
d703f5f7da
commit
0dbd81cbb7
|
@ -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:
|
||||
|
@ -435,4 +435,4 @@ class SnippetGenerator:
|
|||
pass
|
||||
|
||||
def set_max_num_chars(self, max_num_chars: int) -> None:
|
||||
pass
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue