Skip to content

Commit

Permalink
chore: Merge with main
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed May 3, 2024
1 parent 36160bf commit bdfd636
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/ai/backend/manager/models/kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ def parse_row(cls, ctx: GraphQueryContext, row: KernelRow) -> Mapping[str, Any]:
hide_agents = False
else:
hide_agents = ctx.local_config["manager"]["hide-agents"]
status_history = row["status_history"]
status_history = row.status_history
scheduled_at = get_first_occurrence_time(status_history, KernelStatus.SCHEDULED.name)

return {
Expand Down
2 changes: 0 additions & 2 deletions src/ai/backend/manager/models/vfolder.py
Original file line number Diff line number Diff line change
Expand Up @@ -933,8 +933,6 @@ async def update_vfolder_status(
elif vfolder_info_len == 1:
cond = vfolders.c.id == vfolder_ids[0]

now = datetime.now(tzutc())

async def _update() -> None:
async with engine.begin_session() as db_session:
query = (
Expand Down

0 comments on commit bdfd636

Please sign in to comment.