File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/codegen/agents/client/openapi_client Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 22
33from __future__ import annotations
44
5- from typing import TYPE_CHECKING , Generic , TypeVar
5+ from typing import Generic , TypeVar
66
77from pydantic import BaseModel , Field , StrictBytes , StrictInt
88
9- if TYPE_CHECKING :
10- from collections .abc import Mapping
11-
129T = TypeVar ("T" )
1310
1411
1512class ApiResponse (BaseModel , Generic [T ]):
1613 """API response object"""
1714
1815 status_code : StrictInt = Field (description = "HTTP status code" )
19- headers : Mapping [str , str ] | None = Field (None , description = "HTTP headers" )
16+ headers : dict [str , str ] | None = Field (None , description = "HTTP headers" )
2017 data : T = Field (description = "Deserialized data given the data type" )
2118 raw_data : StrictBytes = Field (description = "Raw data (HTTP response body)" )
2219
You can’t perform that action at this time.
0 commit comments