def __getitem__(self, key):
    """Gets the item of the dictionary according to the specified key.

    Parameters
    ----------
    self : ee.Dictionary
        Dictionary to get the items from.
    key : str
        Key used to get the specified item. It gets the value of the specified key.

    Returns
    -------
    ee.Element
        Selected value.

    Examples
    --------
    >>> import ee, eemont
    >>> ee.Authenticate()
    >>> ee.Initialize()
    >>> eeDict = ee.Dictionary({"a":1,"b":2,"h":4})
    >>> eeDict["a"].getInfo()
    1
    >>> eeDict["h"].getInfo()
    4
    """
    return self.get(key)