Skip to content

Commit c51de8e

Browse files
authored
ldap3: Connection: auto_bind also supports booleans (#11289)
1 parent 7129bd1 commit c51de8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/ldap3/ldap3/core/connection.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class Connection:
7070
server: Server | str | _ServerSequence | ServerPool,
7171
user: str | None = None,
7272
password: str | None = None,
73-
auto_bind: Literal["DEFAULT", "NONE", "NO_TLS", "TLS_BEFORE_BIND", "TLS_AFTER_BIND"] = "DEFAULT",
73+
auto_bind: Literal["DEFAULT", "NONE", "NO_TLS", "TLS_BEFORE_BIND", "TLS_AFTER_BIND"] | bool = "DEFAULT",
7474
version: int = 3,
7575
authentication: Literal["ANONYMOUS", "SIMPLE", "SASL", "NTLM"] | None = None,
7676
client_strategy: Literal[

0 commit comments

Comments
 (0)