Update type of BinaryField to include memoryview as well (#686)

This commit is contained in:
Abhyudai
2021-08-01 13:40:15 +05:30
committed by GitHub
parent 8da8ab4862
commit 695a7d71a7
2 changed files with 10 additions and 1 deletions

View File

@@ -493,7 +493,7 @@ class FilePathField(Field[_ST, _GT]):
): ...
class BinaryField(Field[_ST, _GT]):
_pyi_private_get_type: bytes
_pyi_private_get_type: Union[bytes, memoryview]
class DurationField(Field[_ST, _GT]):
_pyi_private_get_type: timedelta