MCPcopy Index your code
hub / github.com/reactive-python/reactpy / Options

Class Options

src/py/reactpy/reactpy/backend/sanic.py:39–46  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 3

main.pyFile · 0.90
make_appFunction · 0.90
configureFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected