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_error_propagation_in_async_litapi
()
tests/unit/test_lit_server.py:650
Function
test_exception
()
tests/unit/test_simple.py:389
Function
test_fail_http
(openai_request_data)
tests/unit/test_specs.py:392
Function
test_field_constraints
()
tests/unit/test_mcp.py:167
Function
test_file_too_big
(tmp_path)
tests/unit/test_form.py:53
Function
test_format_encoded_response
()
tests/unit/test_litapi.py:220
Function
test_generate_client_file
(tmp_path, monkeypatch)
tests/unit/test_lit_server.py:547
Function
test_generate_random_zmq_address_non_windows
Test generate_random_zmq_address on non-Windows platforms.
tests/unit/test_utils.py:51
Function
test_get_default_loop
()
tests/unit/test_loops.py:770
Function
test_get_default_loop_enable_async
()
tests/unit/test_loops.py:802
Function
test_handle_async_function
()
tests/unit/test_loops.py:979
Function
test_heavy_init_api_no_setup
()
tests/unit/test_litapi.py:303
Function
test_heavy_init_api_with_setup
(recwarn)
tests/unit/test_litapi.py:308
Function
test_heavy_setup_api
(recwarn)
tests/unit/test_litapi.py:314
Function
test_http_exception
()
tests/unit/test_lit_server.py:533
Function
test_image_input_output
(tmpdir)
tests/unit/test_schema.py:42
Function
test_index
(sync_testclient)
tests/unit/test_lit_server.py:38
Function
test_inference_worker
(mock_single_loop, mock_batched_loop)
tests/unit/test_loops.py:379
Function
test_info_route
()
tests/unit/test_lit_server.py:494
Method
test_init
Test that the transport initializes correctly.
tests/unit/test_transport.py:27
Function
test_inject_context
()
tests/unit/test_lit_server.py:407
Function
test_invalid_loggers
()
tests/unit/test_logger.py:68
Function
test_is_package_installed
()
tests/unit/test_utils.py:94
Function
test_lit_loop_get_batch_requests
(lit_loop_setup)
tests/unit/test_loops.py:821
Function
test_lit_loop_get_request
(lit_loop_setup)
tests/unit/test_loops.py:833
Function
test_lit_loop_put_response
(lit_loop_setup, mock_transport)
tests/unit/test_loops.py:846
Function
test_litapi_with_stream
(simple_litapi_cls)
tests/unit/test_lit_server.py:126
Function
test_load
(lit_server)
tests/unit/test_simple.py:187
Function
test_log
()
tests/unit/test_litapi.py:261
Function
test_logger
()
tests/unit/test_logger.py:39
Function
test_logger_mount
(test_logger)
tests/unit/test_logger.py:48
Function
test_logger_with_api
(tmpdir)
tests/unit/test_logger.py:104
Function
test_logger_with_callback
(tmp_path)
tests/unit/test_logger.py:129
Function
test_loop_with_server_async
(fast_queue)
tests/unit/test_loops.py:745
Function
test_loop_with_server_sync
()
tests/unit/test_loops.py:760
Function
test_max_batch_size
()
tests/unit/test_batch.py:134
Function
test_max_batch_size_warning
(simple_litapi)
tests/unit/test_lit_server.py:577
Function
test_max_batch_size_warning
()
tests/unit/test_batch.py:146
Function
test_mcp_cls
()
tests/unit/test_mcp.py:215
Function
test_mcp_cls_with_lit_api
()
tests/unit/test_mcp.py:225
Function
test_mcp_cls_with_lit_api_no_input_schema
()
tests/unit/test_mcp.py:236
Function
test_mcp_litserve_connector
()
tests/unit/test_mcp.py:260
Function
test_mcp_not_installed
(mock_is_package_installed)
tests/unit/test_mcp.py:21
Function
test_mcp_schema
()
tests/unit/test_mcp.py:55
Function
test_mcp_schema_nested
()
tests/unit/test_mcp.py:78
Function
test_mcp_schema_with_default_values
()
tests/unit/test_mcp.py:136
Function
test_mcp_schema_with_fields
()
tests/unit/test_mcp.py:111
Function
test_mcp_server
()
tests/e2e/test_e2e.py:433
Function
test_metric_logger
(capfd)
tests/unit/test_callbacks.py:57
Function
test_middleware_multiple_initialization
()
tests/unit/test_middlewares.py:83
Function
test_middlewares_inputs
()
tests/unit/test_middlewares.py:69
Function
test_mocked_accelerator
()
tests/unit/test_lit_server.py:197
Function
test_model_metadata_json_error
()
tests/unit/test_lit_server.py:518
Function
test_multipart_form_data
(tmp_path)
tests/unit/test_form.py:36
Function
test_multiple_endpoints
()
tests/unit/test_multiple_endpoints.py:28
Function
test_multiple_endpoints_with_same_path
()
tests/unit/test_multiple_endpoints.py:49
Function
test_multiple_image_input
(tmpdir)
tests/unit/test_schema.py:71
Function
test_not_authorized_api_key
()
tests/unit/test_auth.py:84
Function
test_not_authorized_custom
()
tests/unit/test_auth.py:50
Function
test_notify_timed_out_requests
()
tests/unit/test_loops.py:853
Function
test_oai_prepopulated_context
(openai_request_data)
tests/unit/test_specs.py:368
Function
test_openai_asyncapi_enable_async_flag_validation
()
tests/unit/test_specs.py:441
Function
test_openai_batch_context
()
tests/unit/test_examples.py:149
Function
test_openai_batching_with_usage
()
tests/unit/test_examples.py:127
Function
test_openai_embedding_parity
()
tests/e2e/test_e2e.py:372
Function
test_openai_embedding_spec_custom_api_path_warning
()
tests/unit/test_openai_embedding.py:77
Function
test_openai_embedding_spec_validation
(openai_request_data)
tests/unit/test_openai_embedding.py:122
Function
test_openai_embedding_spec_with_batching
(openai_embedding_request_data)
tests/unit/test_openai_embedding.py:164
Function
test_openai_embedding_spec_with_custom_api_path
(openai_embedding_request_data, api_path)
tests/unit/test_openai_embedding.py:57
Function
test_openai_embedding_spec_with_missing_embeddings
(openai_embedding_request_data)
tests/unit/test_openai_embedding.py:145
Function
test_openai_embedding_spec_with_multiple_inputs
(openai_embedding_request_data_array)
tests/unit/test_openai_embedding.py:83
Function
test_openai_embedding_spec_with_non_dict_output
(openai_embedding_request_data)
tests/unit/test_openai_embedding.py:132
Function
test_openai_embedding_spec_with_single_input
(openai_embedding_request_data)
tests/unit/test_openai_embedding.py:38
Function
test_openai_embedding_spec_with_usage
(openai_embedding_request_data)
tests/unit/test_openai_embedding.py:102
Function
test_openai_parity
()
tests/e2e/test_e2e.py:123
Function
test_openai_parity_with_audio_input
(openai_request_data_with_audio_wav)
tests/e2e/test_e2e.py:199
Function
test_openai_parity_with_image_input
()
tests/e2e/test_e2e.py:156
Function
test_openai_parity_with_response_format
()
tests/e2e/test_e2e.py:303
Function
test_openai_parity_with_tools
()
tests/e2e/test_e2e.py:227
Function
test_openai_per_token_usage
(api_cls, batch_size, openai_request_data)
tests/unit/test_specs.py:143
Function
test_openai_spec
(openai_request_data, api)
tests/unit/test_specs.py:56
Function
test_openai_spec_asyncapi_encode_response_validation
()
tests/unit/test_specs.py:435
Function
test_openai_spec_asyncapi_predict_validation
()
tests/unit/test_specs.py:429
Function
test_openai_spec_custom_api_path_warning
()
tests/unit/test_specs.py:505
Function
test_openai_spec_metadata
(openai_request_data_with_metadata)
tests/unit/test_specs.py:275
Function
test_openai_spec_metadata_required_fail
(openai_request_data)
tests/unit/test_specs.py:289
Function
test_openai_spec_reasoning_effort
(reasoning_effort, openai_request_data)
tests/unit/test_specs.py:312
Function
test_openai_spec_validation
(openai_request_data)
tests/unit/test_specs.py:348
Function
test_openai_spec_with_async_litapi
(openai_request_data)
tests/unit/test_specs.py:475
Function
test_openai_spec_with_audio
(openai_request_data_with_audio_wav, openai_request_data_with_audio_flac)
tests/unit/test_specs.py:181
Function
test_openai_spec_with_custom_api_path
(api_path, openai_request_data)
tests/unit/test_specs.py:492
Function
test_openai_spec_with_image
(openai_request_data_with_image)
tests/unit/test_specs.py:165
Function
test_openai_spec_with_response_format
(openai_request_data_with_response_format)
tests/unit/test_specs.py:245
Function
test_openai_spec_with_tools
(openai_request_data_with_tools)
tests/unit/test_specs.py:222
Function
test_openai_token_usage
(api_cls, batch_size, openai_request_data, openai_response_data)
tests/unit/test_specs.py:99
Function
test_openai_with_usage
()
tests/unit/test_examples.py:90
Function
test_openai_with_usage_encode_response
()
tests/unit/test_examples.py:106
Function
test_override_encode
(openai_request_data)
tests/unit/test_specs.py:206
Function
test_param_name_to_title
()
tests/unit/test_mcp.py:44
Function
test_pickle_safety
(capfd)
tests/unit/test_logger.py:165
← previous
next →
801–900 of 984, ranked by callers