class_docstr: Interact with dbt Cloud using the V2 API.
  
  :param dbt_cloud_conn_id: The ID of the :ref:`dbt Cloud connection <howto/connection:dbt-cloud>`.
class_docstr_tok: ["Interact","with","dbt","Cloud","using","the","V2","API",".",":","param","dbt_cloud_conn_id",":","The","ID","of","the",":","ref",":","`","dbt","Cloud","connection","<","howto\/connection",":","dbt-cloud",">","`","."]
docstr: Form URL from base url and endpoint url.
  
  :param tenant: The tenant domain name which is need to be replaced in base url.
  :param endpoint: Endpoint url to be requested.
  :param include_related: Optional. List of related fields to pull with the run.
      Valid values are "trigger", "job", "repository", and "environment".
docstr_tok: ["Form","URL","from","base","url","and","endpoint","url",".",":","param","tenant",":","The","tenant","domain","name","which","is","need","to","be","replaced","in","base","url",".",":","param","endpoint",":","Endpoint","url","to","be","requested",".",":","param","include_related",":","Optional",".","List","of","related","fields","to","pull","with","the","run",".","Valid","values","are","``","trigger","''",",","``","job","''",",","``","repository","''",",","and","``","environment","''","."]
code: def get_request_url_params(
      tenant: str,
      endpoint: str,
      include_related: list[str] | None = None,
  ) -> tuple[str, dict[str, Any]]:
      """
      Form URL from base url and endpoint url.
  
      :param tenant: The tenant domain name which is need to be replaced in base url.
      :param endpoint: Endpoint url to be requested.
      :param include_related: Optional. List of related fields to pull with the run.
          Valid values are "trigger", "job", "repository", and "environment".
      """
      data: dict[str, Any] = {}
      if include_related:
          data = {"include_related": include_related}
      url = f"https://{tenant}/api/v2/accounts/{endpoint or ''}"
      return url, data
  
imports: from __future__ import annotations
  import asyncio
  import json
  import time
  from enum import Enum
  from functools import cached_property, wraps
  from inspect import signature
  from typing import TYPE_CHECKING, Any, Callable, Sequence, Set, TypeVar, cast
  import aiohttp
  from aiohttp import ClientResponseError
  from asgiref.sync import sync_to_async
  from requests.auth import AuthBase
  from requests.sessions import Session
  from airflow.exceptions import AirflowException
  from airflow.providers.http.hooks.http import HttpHook
  from airflow.typing_compat import TypedDict
label_desc: Use image node_id 4 for calling the DbtCloudHook obj's underlying member method code with example usage: obj.get_request_url_params(tenant, endpoint, include_related) and returns: url,  data