We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fc1847 commit f626f5eCopy full SHA for f626f5e
src/together/cli/api/utils.py
@@ -104,7 +104,9 @@ def generate_progress_bar(
104
if finetune_job.status in COMPLETED_STATUSES:
105
progress = "Progress: [bold green]completed[/bold green]"
106
elif finetune_job.updated_at is not None:
107
- update_at = datetime.fromisoformat(finetune_job.updated_at).astimezone()
+ # Replace 'Z' with '+00:00' for Python 3.10 compatibility
108
+ updated_at_str = finetune_job.updated_at.replace('Z', '+00:00')
109
+ update_at = datetime.fromisoformat(updated_at_str).astimezone()
110
111
if finetune_job.progress is not None:
112
if current_time < update_at:
0 commit comments