code: def set_task(t: asyncio.Task):
      global task
      task = t
  
imports: import asyncio
  from typing import Union
  from sqlalchemy import orm
  from sqlalchemy.ext.asyncio import async_scoped_session, async_sessionmaker
label_desc: Use image node_id 1 for calling a global function with example usage: set_task(t) without return types