mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Migrate legacy typehints in core to PEP-526 (#26403)
* Migrate legacy typehints in core to PEP-526 * Fix one type
This commit is contained in:
committed by
Paulus Schoutsen
parent
2dc90be94f
commit
2f0eb07624
@@ -22,7 +22,7 @@ class MockRequest:
|
||||
self.method = method
|
||||
self.url = url
|
||||
self.status = status
|
||||
self.headers = CIMultiDict(headers or {}) # type: CIMultiDict[str]
|
||||
self.headers: CIMultiDict[str] = CIMultiDict(headers or {})
|
||||
self.query_string = query_string or ""
|
||||
self._content = content
|
||||
|
||||
|
||||
Reference in New Issue
Block a user