(request: WSGIRequest)
Enables or disables logging of requests and play logs based on the given value.
Enables or disables logging of requests and play logs based on the given value.
Enables or disables logging of requests and play logs based on the given value .
def set_dynamic_embedded_stream(request: WSGIRequest) -> None:
    """Enables or disables logging of requests and play logs based on the given value."""
    enabled = request.POST.get("value") == "true"
    storage.set("dynamic_embedded_stream", enabled)
def set_dynamic_embedded_stream ( request : WSGIRequest ) -> None : enabled = request . POST . get ( "value" ) == "true" storage . set ( "dynamic_embedded_stream" , enabled )