code: def get_signed_url_destination(
      signed_url: str = "",
  ) -> DatasourceType:
      """
      Tries to figure out the of which cloud provider/datasource type a signed url comes from (S3, GCS, Azure)
      Args:
          signed_url:
              The signed url of a "bucket" provider
      Returns:
          DatasourceType
      """
  
      assert isinstance(signed_url, str)
  
      if "storage.googleapis.com/" in signed_url:
          return DatasourceType.GCS
      if ".amazonaws.com/" in signed_url and ".s3." in signed_url:
          return DatasourceType.S3
      if ".windows.net/" in signed_url:
          return DatasourceType.AZURE
      # default to local as it must be some special setup
      return DatasourceType.LOCAL
  
imports: import io
  import os
  import random
  import threading
  import time
  from enum import Enum
  from typing import Iterator, List, Optional
  from PIL import JpegImagePlugin
  from lightly.openapi_generated.swagger_client.configuration import Configuration
label_desc: Use image node_id 7 for calling a global function with example usage: get_signed_url_destination(signed_url) and returns: DatasourceType, DatasourceType, DatasourceType, DatasourceType