code: def register_create_user_hook(
      func: Callable[[AsyncSession, UserModel], Awaitable[None]]
  ):
      _CREATE_USER_HOOKS.append(func)
  
file_path: dstack/src/dstack/_internal/server/services/users.py
imports: import uuid
  from typing import Awaitable, Callable, List, Optional, Tuple
  from sqlalchemy import delete, select, update
  from sqlalchemy.ext.asyncio import AsyncSession
  from dstack._internal.core.errors import ResourceExistsError
  from dstack._internal.core.models.users import GlobalRole, User, UserTokenCreds, UserWithCreds
  from dstack._internal.server.models import UserModel
label_desc: Use image node_id 3 for calling a global function with example usage: register_create_user_hook(func) without return types