Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
dphuang2 committed Oct 31, 2023
1 parent 8c02032 commit 54619b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ const pythonResponseTypeVersion1 = z
const pythonResponseTypeVersion2 = z
.literal('2')
.describe(
'Responses are DataClass instances and do not include all HTTP response fields in the response object. To get raw HTTP repsonse fields, use the _with_http_info version of the method.'
'Responses are Pydantic instances and do not include all HTTP response fields in the response object. To get raw HTTP repsonse fields, use the _with_http_info version of the method.'
)

export const pythonResponseTypeVersion = z
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ def setUp(self):
pass

def test_response_is_dataclass(self):
pythondataclassresponses = PythonDataclassResponses(
client = PythonDataclassResponses(
api_key="YOUR_API_KEY", host="http://127.0.0.1:4011"
)
response = pythondataclassresponses.test.fetch("input")
self.assertTrue(is_dataclass(response))
response = client.test.fetch("input")

def tearDown(self):
pass
Expand Down

0 comments on commit 54619b6

Please sign in to comment.