Skip to content

Commit

Permalink
Auto-format code with black (#9631)
Browse files Browse the repository at this point in the history
Co-authored-by: explosion-bot <[email protected]>
Co-authored-by: Adriane Boyd <[email protected]>
  • Loading branch information
3 people authored Nov 5, 2021
1 parent e6f91b6 commit 5cdb7eb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions spacy/tokens/doc.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,12 @@ class Doc:
def count_by(
self, attr_id: int, exclude: Optional[Any] = ..., counts: Optional[Any] = ...
) -> Dict[Any, int]: ...
def from_array(self, attrs: Union[int, str, List[Union[int, str]]], array: Ints2d) -> Doc: ...
def to_array(self, py_attr_ids: Union[int, str, List[Union[int, str]]]) -> numpy.ndarray: ...
def from_array(
self, attrs: Union[int, str, List[Union[int, str]]], array: Ints2d
) -> Doc: ...
def to_array(
self, py_attr_ids: Union[int, str, List[Union[int, str]]]
) -> numpy.ndarray: ...
@staticmethod
def from_docs(
docs: List[Doc],
Expand Down

0 comments on commit 5cdb7eb

Please sign in to comment.