Merge branch 'path-ca-certs' into 'master'
Make Xmlstream.ca_certs an Optional[Path] instead of Optional[str] See merge request poezio/slixmpp!176
This commit is contained in:
commit
834ea8ed74
1 changed files with 2 additions and 1 deletions
|
@ -33,6 +33,7 @@ import socket as Socket
|
||||||
import ssl
|
import ssl
|
||||||
import weakref
|
import weakref
|
||||||
import uuid
|
import uuid
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
from contextlib import contextmanager
|
from contextlib import contextmanager
|
||||||
import xml.etree.ElementTree as ET
|
import xml.etree.ElementTree as ET
|
||||||
|
@ -161,7 +162,7 @@ class XMLStream(asyncio.BaseProtocol):
|
||||||
#:
|
#:
|
||||||
#: On Mac OS X, certificates in the system keyring will
|
#: On Mac OS X, certificates in the system keyring will
|
||||||
#: be consulted, even if they are not in the provided file.
|
#: be consulted, even if they are not in the provided file.
|
||||||
ca_certs: Optional[str]
|
ca_certs: Optional[Path]
|
||||||
|
|
||||||
#: Path to a file containing a client certificate to use for
|
#: Path to a file containing a client certificate to use for
|
||||||
#: authenticating via SASL EXTERNAL. If set, there must also
|
#: authenticating via SASL EXTERNAL. If set, there must also
|
||||||
|
|
Loading…
Reference in a new issue