mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-11-24 12:18:21 +08:00
Update type of BinaryField to include memoryview as well (#686)
This commit is contained in:
1 parent
8da8ab4862
commit
695a7d71a7
2 files changed
+10
-1
No files matched your search
@@ -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