MCPcopy Create free account
hub / github.com/reactive-python/reactpy / Options

Class Options

src/py/reactpy/reactpy/backend/starlette.py:40–47  ·  view source on GitHub ↗

Render server config for :func:`reactpy.backend.starlette.configure`

Source from the content-addressed store, hash-verified

38# BackendType.Options
39@dataclass
40class Options(CommonOptions):
41 """Render server config for :func:`reactpy.backend.starlette.configure`"""
42
43 cors: bool | dict[str, Any] = False
44 """Enable or configure Cross Origin Resource Sharing (CORS)
45
46 For more information see docs for ``starlette.middleware.cors.CORSMiddleware``
47 """
48
49
50# BackendType.configure

Callers 1

configureFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected