We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b50117 commit 46159aeCopy full SHA for 46159ae
stubs/SQLAlchemy/sqlalchemy/dialects/mssql/base.pyi
@@ -1,4 +1,5 @@
1
-from typing import Any
+from typing import Any, overload
2
+from typing_extensions import Literal
3
4
import sqlalchemy.types as sqltypes
5
@@ -93,6 +94,13 @@ class NTEXT(sqltypes.UnicodeText):
93
94
95
class VARBINARY(sqltypes.VARBINARY, sqltypes.LargeBinary):
96
__visit_name__: str
97
+ filestream: bool
98
+ @overload
99
+ def __init__(self, length: Literal["max"] | None, filestream: Literal[True]) -> None: ...
100
101
+ def __init__(self, *, filestream: Literal[True]) -> None: ...
102
103
+ def __init__(self, length: Any | None = ..., filestream: Literal[False] = ...) -> None: ...
104
105
class IMAGE(sqltypes.LargeBinary):
106
0 commit comments