(self, *args, **kwargs)
Args:
            **kwargs: If kwargs contains `volatile`, always create an instance of the passed class
                whenever the state is entered. The instance is assigned to a model attribute which
                can be passed with the kwargs keyword `hook`. If hook is not passed, the instance will
                be assigned to the 'attribute' scope. If `volatile` is not passed, an empty object will
                be assigned to the model's hook.
Args:
            **kwargs: If kwargs contains `volatile`, always create an instance of the passed class
                whenever the state is entered. The instance is assigned to a model attribute which
                can be passed with the kwargs keyword `hook`. If hook is not passed, the instance will
                be assigned to the 'attribute' scope. If `volatile` is not passed, an empty object will
                be assigned to the model's hook.
Args : ** kwargs : If kwargs contains volatile always create an instance of the passed class whenever the state is entered . The instance is assigned to a model attribute which can be passed with the kwargs keyword hook . If hook is not passed the instance will be assigned to the attribute scope . If volatile is not passed an empty object will be assigned to the model s hook .
def __init__(self, *args, **kwargs):
        """
        Args:
            **kwargs: If kwargs contains `volatile`, always create an instance of the passed class
                whenever the state is entered. The instance is assigned to a model attribute which
                can be passed with the kwargs keyword `hook`. If hook is not passed, the instance will
                be assigned to the 'attribute' scope. If `volatile` is not passed, an empty object will
                be assigned to the model's hook.
        """
        self.volatile_cls = kwargs.pop('volatile', VolatileObject)
        self.volatile_hook = kwargs.pop('hook', 'scope')
        super(Volatile, self).__init__(*args, **kwargs)
        self.initialized = True
def __init__ ( self , * args , * * kwargs ) : self . volatile_cls = kwargs . pop ( 'volatile' , VolatileObject ) self . volatile_hook = kwargs . pop ( 'hook' , 'scope' ) super ( Volatile , self ) . __init__ ( * args , * * kwargs ) self . initialized = True