We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fde110f commit 9519b1bCopy full SHA for 9519b1b
src/together/resources/finetune.py
@@ -1005,11 +1005,9 @@ async def list_events(self, id: str) -> FinetuneListEvents:
1005
),
1006
stream=False,
1007
)
1008
+ assert isinstance(events_response, TogetherResponse)
1009
- # FIXME: API returns "data" field with no object type (should be "list")
1010
- events_list = FinetuneListEvents(object="list", **events_response.data)
1011
-
1012
- return events_list
+ return FinetuneListEvents(**events_response.data)
1013
1014
async def list_checkpoints_from_events(self, id: str) -> List[FinetuneCheckpoint]:
1015
"""
0 commit comments