test_orjson_non_str_keys() — fastapi Function Reference
Architecture documentation for the test_orjson_non_str_keys() function in test_orjson_response_class.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD 9656d0d8_869c_be2c_7d6b_b97e578f7a52["test_orjson_non_str_keys()"] 0159a0e6_ccfe_7188_f02d_6b0d9160237c["test_orjson_response_class.py"] 9656d0d8_869c_be2c_7d6b_b97e578f7a52 -->|defined in| 0159a0e6_ccfe_7188_f02d_6b0d9160237c style 9656d0d8_869c_be2c_7d6b_b97e578f7a52 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_orjson_response_class.py lines 18–21
def test_orjson_non_str_keys():
with client:
response = client.get("/orjson_non_str_keys")
assert response.json() == {"msg": "Hello World", "1": 1}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_orjson_non_str_keys() do?
test_orjson_non_str_keys() is a function in the fastapi codebase, defined in tests/test_orjson_response_class.py.
Where is test_orjson_non_str_keys() defined?
test_orjson_non_str_keys() is defined in tests/test_orjson_response_class.py at line 18.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free