Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/openai/openai-python
/ is_dict
Function
is_dict
src/openai/_utils/_utils.py:198–199 ·
view source on GitHub ↗
(obj: object)
Source
from the content-addressed store, hash-verified
196
197
198
def
is_dict(obj: object) -> TypeGuard[dict[object, object]]:
199
return
isinstance(obj, dict)
200
201
202
def
is_list(obj: object) -> TypeGuard[list[object]]:
Callers
12
assert_matches_type
Function · 0.90
pytest_collection_modifyitems
Function · 0.90
async_client
Function · 0.90
test_azure_api_key_redacted
Method · 0.90
test_azure_bearer_token_redacted
Method · 0.90
test_azure_api_key_redacted_async
Method · 0.90
test_azure_bearer_token_redacted_async
Method · 0.90
filter
Method · 0.70
_extract_items
Function · 0.70
__init__
Method · 0.50
__init__
Method · 0.50
_build_request
Method · 0.50
Calls
no outgoing calls
Tested by
6
pytest_collection_modifyitems
Function · 0.72
async_client
Function · 0.72
test_azure_api_key_redacted
Method · 0.72
test_azure_bearer_token_redacted
Method · 0.72
test_azure_api_key_redacted_async
Method · 0.72
test_azure_bearer_token_redacted_async
Method · 0.72