Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ functions
Functions
10,856 in github.com/OpenHands/OpenHands
⨍
Functions
10,856
◇
Types & classes
2,162
↳
Endpoints
725
↓ 2 callers
Method
_get_sandbox_grouping_strategy
Get the sandbox grouping strategy from user settings.
openhands/app_server/app_conversation/live_status_app_conversation_service.py:280
↓ 2 callers
Function
_get_shared_storage_client
Return a process-wide shared GCS client. google.cloud.storage.Client is thread-safe and manages its own urllib3 connection pool. Creating on
openhands/app_server/event/google_cloud_event_service.py:27
↓ 2 callers
Method
_get_smtp_settings
()
enterprise/server/services/smtp_email_service.py:29
↓ 2 callers
Function
_get_use_host_network_default
Get the default value for use_host_network from environment variables. This function is called at runtime (not at class definition time) to ensur
openhands/app_server/sandbox/docker_sandbox_service.py:49
↓ 2 callers
Method
_get_user
(client: httpx.AsyncClient, user_id: str)
enterprise/storage/lite_llm_manager.py:917
↓ 2 callers
Function
_get_user_context
Build an ``AuthUserContext`` for the sandbox owner.
openhands/app_server/sandbox/sandbox_router.py:146
↓ 2 callers
Method
_get_user_settings_by_keycloak_id_async
Get UserSettings by keycloak_user_id (async version). Args: keycloak_user_id: The keycloak user ID to search for
enterprise/storage/saas_settings_store.py:96
↓ 2 callers
Method
_get_user_team_info
( client: httpx.AsyncClient, keycloak_user_id: str, team_id: str, )
enterprise/storage/lite_llm_manager.py:1196
↓ 2 callers
Method
_get_v1_initial_user_message
Build the initial user message for V1 resolver conversations. For "issue opened" events (no specific comment body), we can simply con
enterprise/integrations/github/github_view.py:167
↓ 2 callers
Function
_get_webhook_secret
()
enterprise/server/routes/integration/azure_devops.py:140
↓ 2 callers
Function
_html_response
(title: str, description: str, status_code: int)
enterprise/server/routes/integration/slack.py:496
↓ 2 callers
Function
_is_all_hands_managed_domain
Check if the host is an All-Hands managed domain.
enterprise/server/constants.py:29
↓ 2 callers
Function
_is_jira_dc_service_account_managed
Return whether Jira DC service-account credentials are env-managed.
openhands/app_server/web_client/default_web_client_config_injector.py:164
↓ 2 callers
Function
_is_openhands_comment
(comment: str)
enterprise/integrations/azure_devops/azure_devops_view.py:51
↓ 2 callers
Method
_is_token_expired
(self, token: SecretStr)
enterprise/server/auth/saas_user_auth.py:407
↓ 2 callers
Method
_load_events_from_paths
(self, paths: list[Path])
openhands/app_server/event/event_service_base.py:56
↓ 2 callers
Method
_load_resolver_context
(self)
enterprise/integrations/github/github_view.py:346
↓ 2 callers
Method
_load_skills_and_update_agent
Load all skills and update agent with them. Args: agent: The agent to update remote_workspace: AsyncRemoteWorkspace f
openhands/app_server/app_conversation/app_conversation_service_base.py:226
↓ 2 callers
Function
_load_skills_from_dir
Load skill metadata from a directory of markdown files. Args: skills_dir: Path to the skills directory. source: Source label ('gl
openhands/app_server/user/skills_router.py:99
↓ 2 callers
Function
_local_user_session_maker
()
enterprise/tests/unit/sync/test_resend_keycloak.py:169
↓ 2 callers
Function
_make_mock_provider_handler
Create a mock ProviderHandler.
tests/unit/app_server/test_git_router.py:101
↓ 2 callers
Function
_make_saas_user_auth
``SaasUserAuth`` requires a refresh_token; tests don't exercise it, so a dummy SecretStr is sufficient.
enterprise/tests/unit/storage/test_saas_stores_effective_org.py:330
↓ 2 callers
Function
_make_settings_for_switch
Build Settings where the profile and the effective agent settings carry independent keys, so the switch endpoint's api_key fallback can be tested.
tests/unit/app_server/test_app_conversation_router.py:406
↓ 2 callers
Function
_make_start_conversation_patches
Return a context-manager stack that stubs everything _create_v1_conversation touches.
enterprise/tests/unit/integrations/jira_dc/test_jira_dc_view.py:100
↓ 2 callers
Method
_map_sort
(self, sort: str)
openhands/app_server/integrations/forgejo/service/base.py:210
↓ 2 callers
Method
_mask_key
Mask an API key, showing only last 4 characters.
enterprise/server/routes/org_models.py:552
↓ 2 callers
Method
_maybe_append_shallow_clone_context
( self, user: UserInfo, selected_repository: str | None, system_message_suffix
openhands/app_server/app_conversation/live_status_app_conversation_service.py:268
↓ 2 callers
Function
_maybe_register_webhook
Best-effort auto-enrollment of the OpenHands webhook in Jira. When an admin PAT is supplied, register (or update) the webhook via JiraDcManag
enterprise/server/routes/integration/jira_dc.py:488
↓ 2 callers
Method
_maybe_send_alerts
( self, org_id: UUID, settings: OrgBudgetSettings, thresholds: list[OrgBudgetT
enterprise/server/services/org_budget_service.py:663
↓ 2 callers
Method
_merge_and_validate_settings
Apply a sparse settings diff to the persisted base and validate it. Agent settings delegate to the SDK's :func:`apply_agent_settings_diff`,
enterprise/storage/org_store.py:339
↓ 2 callers
Method
_merge_custom_mcp_config
Merge custom MCP configuration from user settings. Args: mcp_servers: Dictionary to add servers to user: User informa
openhands/app_server/app_conversation/live_status_app_conversation_service.py:1284
↓ 2 callers
Method
_mock_db_sandboxes
Configure the DB mock to return the given StoredRemoteSandbox rows.
tests/unit/app_server/test_remote_sandbox_service.py:1339
↓ 2 callers
Method
_mock_list_response
Configure the httpx mock to return the given session_ids from /list.
tests/unit/app_server/test_remote_sandbox_service.py:1330
↓ 2 callers
Function
_next_cycle_start
(cycle_start: datetime, reset_day: int)
enterprise/server/services/org_budget_service.py:70
↓ 2 callers
Function
_normalize_dc_resource
( resource: BitbucketDCResourceIdentifier, )
enterprise/server/routes/integration/bitbucket_dc.py:134
↓ 2 callers
Method
_parse_gitlab_url
Parse a GitLab URL to extract the repository path. Expected format: https://{domain}/{group}/{possibly_subgroup}/{repo} Returns the f
openhands/app_server/integrations/gitlab/service/repos.py:43
↓ 2 callers
Function
_persist_conversation_model
Persist ``llm_model`` on the conversation record so the UI chip/header reflects a model switch on the next fetch. Best-effort: a save failure
openhands/app_server/app_conversation/app_conversation_router.py:594
↓ 2 callers
Function
_post_merge_llm_fixups
Apply LLM-specific fixups after merging settings. Delegates the empty-string → cleared and provider-default inference rules to :func:`openhan
openhands/app_server/settings/settings_router.py:102
↓ 2 callers
Method
_post_summary_to_bitbucket_dc
(self, summary: str)
enterprise/integrations/bitbucket_data_center/bitbucket_dc_v1_callback_processor.py:90
↓ 2 callers
Method
_post_summary_to_gitlab
Post a summary comment to the configured GitLab issue or MR.
enterprise/integrations/gitlab/gitlab_v1_callback_processor.py:109
↓ 2 callers
Method
_post_summary_to_jira_dc
Post the summary back to the Jira DC issue.
enterprise/integrations/jira_dc/jira_dc_v1_callback_processor.py:226
↓ 2 callers
Function
_pr_comment_message
(body: str = '@openhands please fix this')
enterprise/tests/unit/integrations/azure_devops/test_azure_devops_manager.py:10
↓ 2 callers
Function
_pr_comment_view
(parent_id: int | None = 42)
enterprise/tests/unit/integrations/bitbucket_data_center/test_bitbucket_dc_manager.py:48
↓ 2 callers
Method
_process_attachment_content_for_message
(self, message: dict)
enterprise/integrations/slack/slack_view.py:86
↓ 2 callers
Method
_process_pending_tasks
Process pending tasks.
enterprise/tests/unit/test_maintenance_task_runner_standalone.py:127
↓ 2 callers
Method
_process_raw_comments
Helper method to fetch comments from a given URL with pagination.
openhands/app_server/integrations/gitlab/service/resolver.py:108
↓ 2 callers
Function
_proxy_git_runtime_call
Resolve the conversation's runtime and proxy a GET to ``runtime_path``. Browsers can't reach runtime sandboxes directly (no CORS for non-localhos
openhands/app_server/app_conversation/app_conversation_router.py:1213
↓ 2 callers
Function
_read_member
(async_session_maker, org_id, user_id)
enterprise/tests/unit/test_org_profiles.py:262
↓ 2 callers
Function
_read_org_raw
(async_session_maker, org_id)
enterprise/tests/unit/test_agent_profiles.py:786
↓ 2 callers
Function
_register_signal_handlers
()
openhands/app_server/utils/shutdown_listener.py:40
↓ 2 callers
Method
_resolve_effective_org
Resolve the request's effective organization. Honors ``X-Org-Id`` / API-key binding via ``SaasUserAuth.get_effective_org_id`` and fal
enterprise/server/services/org_app_settings_service.py:34
↓ 2 callers
Method
_resolve_org_context
Resolve the organization context from the webhook payload. Uses Redis caching for both org claims and user ID mappings. Retu
enterprise/server/services/automation_event_service.py:190
↓ 2 callers
Function
_resolve_org_for_user
Resolve an explicit ``org_id`` to an Org, or fall back to the user's current org. Returns ``None`` if neither resolves.
enterprise/integrations/stripe_service.py:37
↓ 2 callers
Method
_resolve_org_id
Shared resolver for :meth:`get_effective_org_id` and :meth:`get_target_org_id_for_permission_check`. Precedence (highest first):
enterprise/server/auth/saas_user_auth.py:180
↓ 2 callers
Method
_save_data
Save data to a path
enterprise/integrations/github/data_collector.py:184
↓ 2 callers
Method
_secure_select
(self)
enterprise/server/utils/saas_app_conversation_info_injector.py:106
↓ 2 callers
Method
_seed_sandbox_profiles
Mirror the user's saved LLM profiles into the sandbox profile store. The agent's built-in ``switch_llm`` tool resolves profiles from the
openhands/app_server/app_conversation/live_status_app_conversation_service.py:958
↓ 2 callers
Function
_select_project_repo
Resolve a project's repo deterministically: name match, else the sole repo. Returns None when ambiguous (multiple repos, no name match) so we
enterprise/integrations/azure_devops/azure_devops_view.py:115
↓ 2 callers
Method
_send_alerts
( self, org_id: UUID, settings: OrgBudgetSettings, threshold: OrgBudgetThresho
enterprise/server/services/org_budget_service.py:701
↓ 2 callers
Method
_send_smtp_email
( to_emails: list[str], subject: str, html: str, extra: dict[str, object] | No
enterprise/server/services/smtp_email_service.py:64
↓ 2 callers
Method
_send_source_to_automation_service
Send the normalized payload to the automation service. The payload is signed using AUTOMATION_WEBHOOK_SECRET so the automati
enterprise/server/services/automation_event_service.py:567
↓ 2 callers
Method
_send_user_not_found_message
Ask an unenrolled mentioner to sign up in a PR reply. The mentioner has no OHE account. The reply is posted as the bot account (via
enterprise/integrations/bitbucket_data_center/bitbucket_dc_manager.py:158
↓ 2 callers
Function
_settings
(api_key: str = 'test-key')
enterprise/tests/unit/test_default_org_service.py:18
↓ 2 callers
Function
_split_display_name
Split a stored display name into Resend first/last name fields.
enterprise/sync/resend_keycloak.py:104
↓ 2 callers
Method
_stream_conversation_zip
( self, conversation_id: UUID, conversation_info: AppConversationInfo )
openhands/app_server/app_conversation/live_status_app_conversation_service.py:2602
↓ 2 callers
Function
_subscription_consumer_url
(subscription: dict[str, Any])
enterprise/server/routes/integration/azure_devops.py:91
↓ 2 callers
Function
_subscription_event_type
(subscription: dict[str, Any])
enterprise/server/routes/integration/azure_devops.py:95
↓ 2 callers
Function
_subscription_is_project_scoped
(subscription: dict[str, Any])
enterprise/server/routes/integration/azure_devops.py:99
↓ 2 callers
Method
_to_comment
(self, payload: dict | None)
openhands/app_server/integrations/forgejo/service/resolver.py:78
↓ 2 callers
Function
_to_response
(user)
enterprise/server/routes/super_admins.py:68
↓ 2 callers
Function
_token_columns
()
enterprise/migrations/versions/122_add_oauth_tokens_to_jira_dc_users.py:21
↓ 2 callers
Function
_uvicorn_default_log_config
Replicates uvicorn's default LOGGING_CONFIG with URL-param redaction.
openhands/app_server/utils/logger.py:697
↓ 2 callers
Function
_valid_user_email_filter
()
enterprise/sync/resend_keycloak.py:100
↓ 2 callers
Method
_validate_conversation_export_size
(self, conversation_id: UUID)
openhands/app_server/app_conversation/live_status_app_conversation_service.py:2578
↓ 2 callers
Function
_workspace_matches_configured_jira_dc_host
(workspace_name: str)
enterprise/server/routes/integration/jira_dc.py:223
↓ 2 callers
Function
_write_pyproject
(tmp_path: Path, version: str)
tests/unit/app_server/test_version.py:13
↓ 2 callers
Function
accept_tos
(request: Request)
enterprise/server/routes/auth.py:888
↓ 2 callers
Function
actor_email
(actor: dict[str, Any])
enterprise/integrations/azure_devops/azure_devops_view.py:140
↓ 2 callers
Method
add_comment_reaction
Post a reaction emoticon on a Bitbucket Data Center PR comment. BBDC comment reactions live in the *comment-likes* plugin, NOT the co
openhands/app_server/integrations/bitbucket_data_center/service/resolver.py:159
↓ 2 callers
Function
add_github_proxy_routes
Authentication endpoints for feature branches. # Requirements * This should never be enabled in prod! * Authentication on staging sh
enterprise/server/routes/github_proxy.py:17
↓ 2 callers
Method
add_headers
Add rate limit headers to a response
enterprise/server/rate_limit.py:41
↓ 2 callers
Method
add_reaction
Add an emoji reaction to a Jira DC comment as the service account. Uses Jira Data Center's internal reactions API (the endpoint the web UI
enterprise/integrations/jira_dc/jira_dc_manager.py:822
↓ 2 callers
Function
anext
Compatibility function for anext in Python < 3.10
openhands/app_server/app_conversation/app_conversation_router.py:100
↓ 2 callers
Function
areAllEmailsValid
(emails: string[])
frontend/src/utils/input-validation.ts:24
↓ 2 callers
Function
authenticate
(request: Request)
enterprise/server/routes/auth.py:704
↓ 2 callers
Method
batch_get_app_conversation_info
Batch get conversation info with user_id from SAAS metadata.
enterprise/server/utils/saas_app_conversation_info_injector.py:311
↓ 2 callers
Method
bucket
Get the bucket, initializing lazily on first access.
openhands/app_server/file_store/google_cloud.py:41
↓ 2 callers
Function
buildInitialSettingsFormValues
( settings: Settings, schemaOverride?: SettingsSchema | null, source: SettingsValueSource = "agent_setti
frontend/src/utils/sdk-settings-schema.ts:219
↓ 2 callers
Function
buildOrganization
( overrides: Partial<Organization> = {}, )
frontend/__tests__/routes/llm-settings.test.tsx:156
↓ 2 callers
Function
buildOrganizationMember
( overrides: Partial<OrganizationMember> = {}, )
frontend/__tests__/routes/llm-settings.test.tsx:139
↓ 2 callers
Method
buildRuntimeUrl
* Build the full URL for V1 runtime-specific endpoints * @param conversationUrl The conversation URL (e.g., "http://localhost:54928/api/conversatio
frontend/src/api/git-service/v1-git-service.api.ts:23
↓ 2 callers
Function
buildSdkSettingsPayload
( schema: SettingsSchema, values: SettingsFormValues, dirty: SettingsDirtyState, )
frontend/src/utils/sdk-settings-schema.ts:386
↓ 2 callers
Function
buildSdkSettingsPayloadForView
( schema: SettingsSchema, values: SettingsFormValues, dirty: SettingsDirtyState, view: SettingsView, )
frontend/src/utils/sdk-settings-schema.ts:409
↓ 2 callers
Function
buildSettings
(overrides: Partial<Settings> = {})
frontend/__tests__/components/features/settings/sdk-settings/sdk-section-page.test.tsx:30
↓ 2 callers
Function
build_asyncpg_connect_args
(db_ssl_mode: str | None)
openhands/db/ssl.py:30
↓ 2 callers
Function
build_db_url_query
(db_ssl_mode: str | None)
openhands/db/ssl.py:37
↓ 2 callers
Function
cancel_callback
(session_id: str, request: Request)
enterprise/server/routes/billing.py:343
↓ 2 callers
Function
check_provider_tokens
( incoming_provider_tokens: POSTProviderModel, existing_provider_tokens: PROVIDER_TOKEN_TYPE | None, )
openhands/app_server/secrets/secrets_router.py:57
↓ 2 callers
Method
check_user_has_admin_access_to_resource
Check if the user has admin access to resource (is either an owner or maintainer) Args: resource_type: The type of resou
enterprise/integrations/gitlab/gitlab_service.py:399
↓ 2 callers
Function
clearConversationLocalStorage
(conversationId: string)
frontend/src/utils/conversation-local-storage.ts:128
← previous
next →
1,401–1,500 of 10,856, ranked by callers