class_docstr: Upload file(s) to Azure Data Lake.
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:LocalFilesystemToADLSOperator`
  
  :param local_path: local path. Can be single file, directory (in which case,
          upload recursively) or glob pattern. Recursive glob patterns using `**`
          are not supported
  :param remote_path: Remote path to upload to; if multiple files, this is the
          directory root to write within
  :param nthreads: Number of threads to use. If None, uses the number of cores.
  :param overwrite: Whether to forcibly overwrite existing files/directories.
          If False and remote path is a directory, will quit regardless if any files
          would be overwritten or not. If True, only matching filenames are actually
          overwritten
  :param buffersize: int [2**22]
          Number of bytes for internal buffer. This block cannot be bigger than
          a chunk and cannot be smaller than a block
  :param blocksize: int [2**22]
          Number of bytes for a block. Within each chunk, we write a smaller
          block for each API call. This block cannot be bigger than a chunk
  :param extra_upload_options: Extra upload options to add to the hook upload method
  :param azure_data_lake_conn_id: Reference to the Azure Data Lake connection
code: def execute(self, context: Context) -> None:
      if "**" in self.local_path:
          raise AirflowException(
              "Recursive glob patterns using `**` are not supported"
          )
      if not self.extra_upload_options:
          self.extra_upload_options = {}
      hook = AzureDataLakeHook(
          azure_data_lake_conn_id=self.azure_data_lake_conn_id
      )
      self.log.info(
          "Uploading %s to %s", self.local_path, self.remote_path
      )
      return hook.upload_file(
          local_path=self.local_path,
          remote_path=self.remote_path,
          nthreads=self.nthreads,
          overwrite=self.overwrite,
          buffersize=self.buffersize,
          blocksize=self.blocksize,
          **self.extra_upload_options,
      )
  
file_path: airflow/airflow/providers/microsoft/azure/transfers/local_to_adls.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any, Sequence
  from airflow.exceptions import AirflowException
  from airflow.models import BaseOperator
  from airflow.providers.microsoft.azure.hooks.data_lake import AzureDataLakeHook
label_desc: Use image node_id 2 for calling the LocalFilesystemToADLSOperator obj's underlying member method code with example usage: obj.execute(context) and returns: hook