MCPcopy
hub / github.com/OpenHands/OpenHands / get_global_config

Function get_global_config

openhands/app_server/config.py:426–433  ·  view source on GitHub ↗

Get the default local server config shared across the server.

()

Source from the content-addressed store, hash-verified

424
425
426def get_global_config() -> AppServerConfig:
427 """Get the default local server config shared across the server."""
428 global _global_config
429 if _global_config is None:
430 # Load configuration from environment...
431 _global_config = config_from_env()
432
433 return _global_config # type: ignore
434
435
436def get_event_service(

Callers 15

__init__Method · 0.90
run_migrations_offlineFunction · 0.90
run_migrations_onlineFunction · 0.90
validate_session_keyFunction · 0.90
injectMethod · 0.90
injectMethod · 0.90
get_dependenciesFunction · 0.90
process_bind_paramMethod · 0.90
process_result_paramMethod · 0.90
get_instanceMethod · 0.90
webhook_router.pyFile · 0.90
search_repositoriesFunction · 0.90

Calls 1

config_from_envFunction · 0.85

Tested by

no test coverage detected