docs: def get_region(b):
      """Tries to get the bucket region from Location.LocationConstraint
  
      Special cases:
          LocationConstraint EU defaults to eu-west-1
          LocationConstraint null defaults to us-east-1
  
      Args:
          b (object): A bucket object
  
      Returns:
          string: an aws region string
      """
      remap = {None: 'us-east-1', 'EU': 'eu-west-1'}
      region = b.get('Location', {}).get('LocationConstraint')
      return remap.get(region, region)