code: def create_user_db_session(
      self, session_id: str, time_delta: timedelta, user_id: int
  ):
      self.db.session.add(
          self.model(
              session_id=session_id,
              data=self.serializer.dumps({"_user_id": user_id}),
              expiry=datetime.now() + time_delta,
          )
      )
  
imports: from __future__ import annotations
  from datetime import datetime, timedelta
  from unittest import mock
  import pytest
  from flask.sessions import SecureCookieSessionInterface
  from flask_appbuilder import SQLA
  from airflow import settings
  from airflow.security import permissions
  from airflow.www import app
  from tests.test_utils.api_connexion_utils import create_user, delete_role
  from tests.test_utils.www import check_content_in_response, check_content_not_in_response, client_with_login
label_desc: Use image node_id 3 for calling the TestResetUserSessions obj's underlying member method code with example usage: obj.create_user_db_session(session_id, time_delta, user_id) without return types