Better type annotation for CORSMiddleware
?
#2722
-
See: https://github.com/encode/starlette/blob/master/starlette/middleware/cors.py#L19C1-L19C50 (I'll be discussing
allow_origins: typing.Sequence[str] = (),
allow_methods: typing.Sequence[str] = ("GET",), But the only thing we ever do with ¹ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Okay. PR welcome. |
Beta Was this translation helpful? Give feedback.
Okay. PR welcome.