MCPcopy Create free account

hub / github.com/Lightning-AI/LitServe / functions

Functions984 in github.com/Lightning-AI/LitServe

Functiontest_producer_cleanup
()
tests/unit/test_zmq_queue.py:138
Functiontest_producer_error_handling
(mock_context)
tests/unit/test_zmq_queue.py:73
Functiontest_producer_send
(mock_context)
tests/unit/test_zmq_queue.py:53
Functiontest_producer_wait_for_subscribers
(mock_context)
tests/unit/test_zmq_queue.py:91
Functiontest_pydantic
()
tests/unit/test_pydantic.py:43
Functiontest_python_type_to_json_schema
()
tests/unit/test_mcp.py:29
Functiontest_python_type_to_json_schema_complex
()
tests/unit/test_mcp.py:149
Functiontest_readme
(tmp_path, killall)
tests/unit/test_readme.py:103
Methodtest_reduce
(self, transport, queues)
tests/unit/test_transport.py:89
Functiontest_regular_handler_error_response
()
tests/unit/test_request_handlers.py:100
Functiontest_request_handler
(mock_lit_api)
tests/unit/test_request_handlers.py:76
Functiontest_request_handler_streaming
(mock_event, mock_lit_api)
tests/unit/test_request_handlers.py:86
Functiontest_request_timeout_connector
()
tests/unit/test_batch.py:128
Functiontest_request_tracker
(capfd)
tests/unit/test_callbacks.py:71
Functiontest_request_tracker_with_openai_spec
(capfd)
tests/unit/test_callbacks.py:106
Functiontest_request_tracker_with_spec
(capfd)
tests/unit/test_callbacks.py:86
Functiontest_reserved_paths
()
tests/unit/test_multiple_endpoints.py:56
Functiontest_run
()
tests/e2e/test_e2e.py:65
Functiontest_run_batched_loop
()
tests/unit/test_loops.py:484
Functiontest_run_batched_loop_timeout
(mock_transport)
tests/unit/test_loops.py:524
Functiontest_run_single_loop
(mock_transport)
tests/unit/test_loops.py:422
Functiontest_run_single_loop_timeout
()
tests/unit/test_loops.py:452
Functiontest_run_single_loop_with_async
(async_loop_args, monkeypatch)
tests/unit/test_loops.py:162
Functiontest_run_streaming_loop
(mock_transport)
tests/unit/test_loops.py:571
Functiontest_run_streaming_loop_timeout
(mock_transport)
tests/unit/test_loops.py:603
Functiontest_run_streaming_loop_with_async
(mock_transport, monkeypatch)
tests/unit/test_loops.py:278
Functiontest_run_with_port
()
tests/e2e/test_e2e.py:73
Methodtest_send
(self, transport, queues)
tests/unit/test_transport.py:32
Methodtest_send_receive_cycle
Test a complete send-receive cycle.
tests/unit/test_transport.py:162
Methodtest_send_when_closed
(self, transport)
tests/unit/test_transport.py:40
Functiontest_server_run
(mock_uvicorn, mock_manager)
tests/unit/test_lit_server.py:210
Functiontest_server_run_windows
(mock_uvicorn, mock_manager)
tests/unit/test_lit_server.py:310
Functiontest_server_run_with_api_server_worker_type
(mock_uvicorn, server_for_api_worker_test, mock_manager)
tests/unit/test_lit_server.py:262
Functiontest_server_run_with_invalid_api_worker
(simple_litapi)
tests/unit/test_lit_server.py:298
Functiontest_server_run_with_process_api_worker
( mock_uvicorn, api_server_worker_type, num_api_workers, server_for_api_worker_test, mock_manager )
tests/unit/test_lit_server.py:273
Functiontest_server_run_with_thread_api_worker
(mock_uvicorn, server_for_api_worker_test, mock_manager)
tests/unit/test_lit_server.py:288
Functiontest_server_terminate
()
tests/unit/test_lit_server.py:324
Functiontest_server_with_disabled_timeout
(use_zmq)
tests/unit/test_simple.py:331
Functiontest_server_wo_logger
()
tests/unit/test_logger.py:85
Functiontest_set_log_level
()
tests/unit/test_logging.py:30
Functiontest_set_trace_if_debug
(mock_set_trace)
tests/unit/test_utils.py:80
Functiontest_set_trace_if_debug_not_set
(mock_forked_pdb)
tests/unit/test_utils.py:88
Functiontest_shutdown_endpoint_multiple_workers
(shutdown_api_key)
tests/unit/test_simple.py:228
Functiontest_shutdown_endpoint_single_worker
(shutdown_api_key)
tests/unit/test_simple.py:211
Methodtest_shutdown_sequence
Test the shutdown sequence works correctly.
tests/unit/test_transport.py:179
Functiontest_simple
(lit_server)
tests/unit/test_simple.py:46
Functiontest_simple_api
()
tests/unit/test_examples.py:44
Functiontest_simple_api_without_server
()
tests/unit/test_examples.py:57
Functiontest_simple_batched_api
()
tests/unit/test_examples.py:31
Functiontest_simple_pytorch_api
()
tests/unit/test_examples.py:18
Functiontest_simple_pytorch_api_without_server
()
tests/unit/test_examples.py:65
Functiontest_simple_stream_api_without_server
()
tests/unit/test_examples.py:76
Functiontest_single_loop
(loop_args)
tests/unit/test_loops.py:131
Functiontest_single_loop_process_single_async_request
(async_loop_args, mock_transport)
tests/unit/test_loops.py:142
Functiontest_starlette_middlewares
()
tests/unit/test_middlewares.py:49
Functiontest_start_server
(mock_server)
tests/unit/test_lit_server.py:241
Functiontest_stream
(simple_stream_api, use_zmq)
tests/unit/test_lit_server.py:70
Functiontest_streaming_loop
()
tests/unit/test_loops.py:205
Functiontest_streaming_loop_process_streaming_request
(mock_transport)
tests/unit/test_loops.py:258
Functiontest_sync_fn_to_async_fn
()
tests/unit/test_loops.py:1006
Functiontest_timeout
(use_zmq)
tests/unit/test_simple.py:274
Functiontest_torch
()
tests/unit/test_torch.py:51
Functiontest_torch_gpu
()
tests/unit/test_torch.py:59
Functiontest_track_requests_middleware_isolation
Test that _prepare_app_run doesn't modify the original app's middleware list.
tests/unit/test_middlewares.py:93
Functiontest_unbatched
()
tests/unit/test_batch.py:110
Functiontest_urlencoded_form_data
()
tests/unit/test_form.py:88
Functiontest_worker_restart_and_server_shutdown
()
tests/unit/test_lit_server.py:757
Functiontest_worker_restart_and_server_shutdown_streaming
()
tests/unit/test_lit_server.py:820
Functiontest_workers_health
(use_zmq)
tests/unit/test_simple.py:71
Functiontest_workers_health_custom_path
(use_zmq)
tests/unit/test_simple.py:93
Functiontest_workers_health_with_async_health_method
(use_zmq)
tests/unit/test_simple.py:159
Functiontest_workers_health_with_custom_health_method
(use_zmq)
tests/unit/test_simple.py:121
Functiontest_workers_setup_status
(use_zmq, port)
tests/unit/test_lit_server.py:568
Methodtransport
(self, manager, queues)
tests/unit/test_transport.py:24
Methodunbatch
Convert a batched output to a list of outputs. When using batching, the predict method should return a list-like structure (list, tup
src/litserve/api.py:314
Methodunbatch
(self, output)
tests/conftest.py:99
Methodunbatch
(self, outputs)
tests/parity_fastapi/ls-server.py:51
Methodunbatch
(self, output)
tests/unit/test_simple.py:267
Methodunbatch
(self, output)
tests/unit/test_batch.py:279
Methodunbatch
(self, outputs)
tests/perf_test/bert/server.py:39
Methodvalidate_base64
Ensure the string is a valid Base64.
src/litserve/schema/image.py:15
Methodworker_id
(self)
src/litserve/loops/base.py:345
Functionwrapper
(*args, **kwargs)
tests/parity_fastapi/main.py:30
Functionwrapper
(*args, **kwargs)
tests/e2e/test_e2e.py:32
← previous901–984 of 984, ranked by callers