mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-19 02:15:59 +08:00
Update type of BinaryField to include memoryview as well (#686)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user