MCPcopy Index your code
hub / github.com/github/copilot-sdk / _timeout_kwargs

Function _timeout_kwargs

python/copilot/generated/rpc.py:25058–25062  ·  view source on GitHub ↗

Build keyword arguments for optional timeout forwarding.

(timeout: float | None)

Source from the content-addressed store, hash-verified

25056WorkspacesWorkspaceDetailsHostType = HostType
25057
25058def _timeout_kwargs(timeout: float | None) -> dict:
25059 """Build keyword arguments for optional timeout forwarding."""
25060 if timeout is not None:
25061 return {"timeout": timeout}
25062 return {}
25063
25064def _patch_model_capabilities(data: dict) -> dict:
25065 """Ensure model capabilities have required fields.

Callers 15

listMethod · 0.85
listMethod · 0.85
get_quotaMethod · 0.85
get_current_authMethod · 0.85
get_all_usersMethod · 0.85
loginMethod · 0.85
logoutMethod · 0.85
add_filter_valuesMethod · 0.85
listMethod · 0.85
addMethod · 0.85
updateMethod · 0.85
removeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…