code: def test_attr_name_padding():
      x_val = 10.0
      y_val = 15.0
      default = 3.0
      padding_dict = {"x": x_val, "y": UniformPadding(y_val)}
      padding = AttrNamePadding(padding_dict, default=default)
  
      assert padding.get_value(attr_name="x") == x_val
      assert padding.get_value("v1", "x") == x_val
      assert padding.get_value(attr_name="y") == y_val
      assert padding.get_value("v1", "y") == y_val
      assert padding.get_value(attr_name="x2") == default
  
      padding = AttrNamePadding({})
      assert padding.get_value(attr_name="x") == 0.0
  
imports: import numbers
  from typing import Dict, Generator, List, Optional, Tuple, Union
  import pytest
  import torch
  from torch_geometric.data import Data, HeteroData
  from torch_geometric.datasets import FakeDataset, FakeHeteroDataset
  from torch_geometric.transforms import Pad
  from torch_geometric.transforms.pad import AttrNamePadding, EdgeTypePadding, NodeTypePadding, Padding, UniformPadding
  from torch_geometric.typing import EdgeType, NodeType
label_desc: Use image node_id 26 for calling a global function with example usage: test_attr_name_padding() without return types