code: def main():
      if context.is_offline_mode():
          run_migrations_offline()
      else:
          run_migrations_online()
  
file_path: dstack/src/dstack/_internal/server/migrations/env.py
imports: import asyncio
  from logging.config import fileConfig
  from alembic import context
  from sqlalchemy import Connection, MetaData, text
  from dstack._internal.server.db import db
  from dstack._internal.server.models import BaseModel
label_desc: Use image node_id 5 for calling a global function with example usage: main() without return types