class_docstr: Helper for accessing Azure Container Registry resources.
docstr: Create an AzureContainerRegistry from a config dict.
  
  Args:
      config (dict): The config dict.
      environment (AbstractEnvironment): The environment to use.
      verify (bool, optional): Whether to verify the registry. Defaults to True.
  
  Returns:
      AzureContainerRegistry: The registry.
  
  Raises:
      LaunchError: If the config is invalid.
docstr_tok: ["Create","an","AzureContainerRegistry","from","a","config","dict",".","Args",":","config","(","dict",")",":","The","config","dict",".","environment","(","AbstractEnvironment",")",":","The","environment","to","use",".","verify","(","bool",",","optional",")",":","Whether","to","verify","the","registry",".","Defaults","to","True",".","Returns",":","AzureContainerRegistry",":","The","registry",".","Raises",":","LaunchError",":","If","the","config","is","invalid","."]
code: def from_config(
      cls,
      config: dict,
  ) -> "AzureContainerRegistry":
      """Create an AzureContainerRegistry from a config dict.
  
      Args:
          config (dict): The config dict.
          environment (AbstractEnvironment): The environment to use.
          verify (bool, optional): Whether to verify the registry. Defaults to True.
  
      Returns:
          AzureContainerRegistry: The registry.
  
      Raises:
          LaunchError: If the config is invalid.
      """
      uri = config.get("uri")
      if uri is None:
          raise LaunchError(
              "Please specify a registry name to use under the registry.uri."
          )
      return cls(
          uri=uri,
      )
  
file_path: wandb/wandb/sdk/launch/registry/azure_container_registry.py
imports: import re
  from typing import TYPE_CHECKING, Optional, Tuple
  from wandb.sdk.launch.environment.azure_environment import AzureEnvironment
  from wandb.sdk.launch.errors import LaunchError
  from wandb.sdk.launch.utils import AZURE_CONTAINER_REGISTRY_URI_REGEX
  from wandb.util import get_module
  from .abstract import AbstractRegistry
label_desc: Use image node_id 2 for calling the AzureContainerRegistry obj's underlying member method code with example usage: obj.from_config(cls, config) and returns: cls