Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lightning-AI/LitServe
/ functions
Functions
984 in github.com/Lightning-AI/LitServe
⨍
Functions
984
◇
Types & classes
226
↳
Endpoints
30
Function
test_producer_cleanup
()
tests/unit/test_zmq_queue.py:138
Function
test_producer_error_handling
(mock_context)
tests/unit/test_zmq_queue.py:73
Function
test_producer_send
(mock_context)
tests/unit/test_zmq_queue.py:53
Function
test_producer_wait_for_subscribers
(mock_context)
tests/unit/test_zmq_queue.py:91
Function
test_pydantic
()
tests/unit/test_pydantic.py:43
Function
test_python_type_to_json_schema
()
tests/unit/test_mcp.py:29
Function
test_python_type_to_json_schema_complex
()
tests/unit/test_mcp.py:149
Function
test_readme
(tmp_path, killall)
tests/unit/test_readme.py:103
Method
test_reduce
(self, transport, queues)
tests/unit/test_transport.py:89
Function
test_regular_handler_error_response
()
tests/unit/test_request_handlers.py:100
Function
test_request_handler
(mock_lit_api)
tests/unit/test_request_handlers.py:76
Function
test_request_handler_streaming
(mock_event, mock_lit_api)
tests/unit/test_request_handlers.py:86
Function
test_request_timeout_connector
()
tests/unit/test_batch.py:128
Function
test_request_tracker
(capfd)
tests/unit/test_callbacks.py:71
Function
test_request_tracker_with_openai_spec
(capfd)
tests/unit/test_callbacks.py:106
Function
test_request_tracker_with_spec
(capfd)
tests/unit/test_callbacks.py:86
Function
test_reserved_paths
()
tests/unit/test_multiple_endpoints.py:56
Function
test_run
()
tests/e2e/test_e2e.py:65
Function
test_run_batched_loop
()
tests/unit/test_loops.py:484
Function
test_run_batched_loop_timeout
(mock_transport)
tests/unit/test_loops.py:524
Function
test_run_single_loop
(mock_transport)
tests/unit/test_loops.py:422
Function
test_run_single_loop_timeout
()
tests/unit/test_loops.py:452
Function
test_run_single_loop_with_async
(async_loop_args, monkeypatch)
tests/unit/test_loops.py:162
Function
test_run_streaming_loop
(mock_transport)
tests/unit/test_loops.py:571
Function
test_run_streaming_loop_timeout
(mock_transport)
tests/unit/test_loops.py:603
Function
test_run_streaming_loop_with_async
(mock_transport, monkeypatch)
tests/unit/test_loops.py:278
Function
test_run_with_port
()
tests/e2e/test_e2e.py:73
Method
test_send
(self, transport, queues)
tests/unit/test_transport.py:32
Method
test_send_receive_cycle
Test a complete send-receive cycle.
tests/unit/test_transport.py:162
Method
test_send_when_closed
(self, transport)
tests/unit/test_transport.py:40
Function
test_server_run
(mock_uvicorn, mock_manager)
tests/unit/test_lit_server.py:210
Function
test_server_run_windows
(mock_uvicorn, mock_manager)
tests/unit/test_lit_server.py:310
Function
test_server_run_with_api_server_worker_type
(mock_uvicorn, server_for_api_worker_test, mock_manager)
tests/unit/test_lit_server.py:262
Function
test_server_run_with_invalid_api_worker
(simple_litapi)
tests/unit/test_lit_server.py:298
Function
test_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
Function
test_server_run_with_thread_api_worker
(mock_uvicorn, server_for_api_worker_test, mock_manager)
tests/unit/test_lit_server.py:288
Function
test_server_terminate
()
tests/unit/test_lit_server.py:324
Function
test_server_with_disabled_timeout
(use_zmq)
tests/unit/test_simple.py:331
Function
test_server_wo_logger
()
tests/unit/test_logger.py:85
Function
test_set_log_level
()
tests/unit/test_logging.py:30
Function
test_set_trace_if_debug
(mock_set_trace)
tests/unit/test_utils.py:80
Function
test_set_trace_if_debug_not_set
(mock_forked_pdb)
tests/unit/test_utils.py:88
Function
test_shutdown_endpoint_multiple_workers
(shutdown_api_key)
tests/unit/test_simple.py:228
Function
test_shutdown_endpoint_single_worker
(shutdown_api_key)
tests/unit/test_simple.py:211
Method
test_shutdown_sequence
Test the shutdown sequence works correctly.
tests/unit/test_transport.py:179
Function
test_simple
(lit_server)
tests/unit/test_simple.py:46
Function
test_simple_api
()
tests/unit/test_examples.py:44
Function
test_simple_api_without_server
()
tests/unit/test_examples.py:57
Function
test_simple_batched_api
()
tests/unit/test_examples.py:31
Function
test_simple_pytorch_api
()
tests/unit/test_examples.py:18
Function
test_simple_pytorch_api_without_server
()
tests/unit/test_examples.py:65
Function
test_simple_stream_api_without_server
()
tests/unit/test_examples.py:76
Function
test_single_loop
(loop_args)
tests/unit/test_loops.py:131
Function
test_single_loop_process_single_async_request
(async_loop_args, mock_transport)
tests/unit/test_loops.py:142
Function
test_starlette_middlewares
()
tests/unit/test_middlewares.py:49
Function
test_start_server
(mock_server)
tests/unit/test_lit_server.py:241
Function
test_stream
(simple_stream_api, use_zmq)
tests/unit/test_lit_server.py:70
Function
test_streaming_loop
()
tests/unit/test_loops.py:205
Function
test_streaming_loop_process_streaming_request
(mock_transport)
tests/unit/test_loops.py:258
Function
test_sync_fn_to_async_fn
()
tests/unit/test_loops.py:1006
Function
test_timeout
(use_zmq)
tests/unit/test_simple.py:274
Function
test_torch
()
tests/unit/test_torch.py:51
Function
test_torch_gpu
()
tests/unit/test_torch.py:59
Function
test_track_requests_middleware_isolation
Test that _prepare_app_run doesn't modify the original app's middleware list.
tests/unit/test_middlewares.py:93
Function
test_unbatched
()
tests/unit/test_batch.py:110
Function
test_urlencoded_form_data
()
tests/unit/test_form.py:88
Function
test_worker_restart_and_server_shutdown
()
tests/unit/test_lit_server.py:757
Function
test_worker_restart_and_server_shutdown_streaming
()
tests/unit/test_lit_server.py:820
Function
test_workers_health
(use_zmq)
tests/unit/test_simple.py:71
Function
test_workers_health_custom_path
(use_zmq)
tests/unit/test_simple.py:93
Function
test_workers_health_with_async_health_method
(use_zmq)
tests/unit/test_simple.py:159
Function
test_workers_health_with_custom_health_method
(use_zmq)
tests/unit/test_simple.py:121
Function
test_workers_setup_status
(use_zmq, port)
tests/unit/test_lit_server.py:568
Method
transport
(self, manager, queues)
tests/unit/test_transport.py:24
Method
unbatch
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
Method
unbatch
(self, output)
tests/conftest.py:99
Method
unbatch
(self, outputs)
tests/parity_fastapi/ls-server.py:51
Method
unbatch
(self, output)
tests/unit/test_simple.py:267
Method
unbatch
(self, output)
tests/unit/test_batch.py:279
Method
unbatch
(self, outputs)
tests/perf_test/bert/server.py:39
Method
validate_base64
Ensure the string is a valid Base64.
src/litserve/schema/image.py:15
Method
worker_id
(self)
src/litserve/loops/base.py:345
Function
wrapper
(*args, **kwargs)
tests/parity_fastapi/main.py:30
Function
wrapper
(*args, **kwargs)
tests/e2e/test_e2e.py:32
← previous
901–984 of 984, ranked by callers