Skip to content
Snippets Groups Projects
Commit 4a80f121 authored by Krzysztof Mochocki's avatar Krzysztof Mochocki
Browse files

Merge branch 'mzebrak/fixes' into 'develop'

Fix setter for AbstractHandle.http_endpoint

See merge request hive/hive-transfer-protocol!3
parents a59c78be a5ab2178
No related branches found
No related tags found
1 merge request!3Fix setter for AbstractHandle.http_endpoint
......@@ -50,8 +50,8 @@ class AbstractHandle:
"""Return endpoint where handle is connected to."""
return self.__http_endpoint
@http_endpoint.setter # type: ignore[attr-defined] # https://github.com/python/mypy/issues/1465
def set_http_endpoint(self, value: HttpUrl) -> None:
@http_endpoint.setter
def http_endpoint(self, value: HttpUrl) -> None:
"""Set http endpoint."""
self.__http_endpoint = value
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment