class_docstr: PaddingPropertyHolder
  
  Adds padding property to a class and validates it using the allowed paddings from constants.
  
  Parameters
  ----------
  padding : None or str or tuple
      Padding mode. Inheritance can be specified as the second argument of the `padding` tuple.
class_docstr_tok: ["PaddingPropertyHolder","Adds","padding","property","to","a","class","and","validates","it","using","the","allowed","paddings","from","constants",".","Parameters","--","--","--","--","--","padding",":","None","or","str","or","tuple","Padding","mode",".","Inheritance","can","be","specified","as","the","second","argument","of","the","`","padding","`","tuple","."]
code: def __init__(self, padding=None):
      super(PaddingPropertyHolder, self).__init__()
      self.padding = validate_parameter(padding, ALLOWED_PADDINGS, "z")
  
imports: import copy
  import random
  from abc import ABCMeta, abstractmethod
  import cv2
  import numpy
  from solt.utils import Serializable
  from solt.constants import ALLOWED_INTERPOLATIONS, ALLOWED_PADDINGS
  from ._data import DataContainer, Keypoints
  from solt.utils import img_shape_checker, validate_parameter
label_desc: Use image node_id 1 to create a new PaddingPropertyHolder object from inherited base classes: object with example: obj = PaddingPropertyHolder(padding)