Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct annotations for signals in QThread and QNetworkAccessManager #129

Merged
merged 2 commits into from Feb 16, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions PyQt5-stubs/QtCore.pyi
Expand Up @@ -8247,8 +8247,8 @@ class QThread(QObject):
def exec(self) -> int: ...
def exec_(self) -> int: ...
def run(self) -> None: ...
def finished(self) -> None: ...
def started(self) -> None: ...
finished: typing.ClassVar[pyqtSignal]
started: typing.ClassVar[pyqtSignal]
@typing.overload
def wait(self, msecs: int = ...) -> bool: ...
@typing.overload
Expand Down
12 changes: 6 additions & 6 deletions PyQt5-stubs/QtNetwork.pyi
Expand Up @@ -764,13 +764,13 @@ class QNetworkAccessManager(QtCore.QObject):
def setProxyFactory(self, factory: 'QNetworkProxyFactory') -> None: ...
def proxyFactory(self) -> 'QNetworkProxyFactory': ...
def createRequest(self, op: 'QNetworkAccessManager.Operation', request: 'QNetworkRequest', device: typing.Optional[QtCore.QIODevice] = ...) -> 'QNetworkReply': ...
def preSharedKeyAuthenticationRequired(self, reply: 'QNetworkReply', authenticator: 'QSslPreSharedKeyAuthenticator') -> None: ...
preSharedKeyAuthenticationRequired = typing.ClassVar[QtCore.pyqtSignal]
def networkAccessibleChanged(self, accessible: 'QNetworkAccessManager.NetworkAccessibility') -> None: ...
TilmanK marked this conversation as resolved.
Show resolved Hide resolved
def sslErrors(self, reply: 'QNetworkReply', errors: typing.Iterable['QSslError']) -> None: ...
def encrypted(self, reply: 'QNetworkReply') -> None: ...
def finished(self, reply: 'QNetworkReply') -> None: ...
def authenticationRequired(self, reply: 'QNetworkReply', authenticator: QAuthenticator) -> None: ...
def proxyAuthenticationRequired(self, proxy: 'QNetworkProxy', authenticator: QAuthenticator) -> None: ...
sslErrors: typing.ClassVar[QtCore.pyqtSignal]
encrypted: typing.ClassVar[QtCore.pyqtSignal]
finished: typing.ClassVar[QtCore.pyqtSignal]
authenticationRequired: typing.ClassVar[QtCore.pyqtSignal]
proxyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal]
@typing.overload
def put(self, request: 'QNetworkRequest', data: QtCore.QIODevice) -> 'QNetworkReply': ...
@typing.overload
Expand Down