Fix Type Hint (#2322)

* Fix Type Hint

Union is not necessary here? My IDE pops an error for it.

* Rerun workflows

* empty commit
This commit is contained in:
Zhiwei 2021-12-02 14:17:22 -07:00 committed by GitHub
parent 55c36e0240
commit a8d55e180c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,7 @@ class BaseHTTPResponse:
async def send( async def send(
self, self,
data: Optional[Union[AnyStr]] = None, data: Optional[AnyStr] = None,
end_stream: Optional[bool] = None, end_stream: Optional[bool] = None,
) -> None: ) -> None:
""" """