def get_prop(self, key, default_val=None):
        """
        Returns a property set on the context.

        :Parameters:
          key
            String key to lookup in the context props dict
          default_val
            Value to return if key is not set on the context props
        """
        if key in self.props:
            return self.props[key]
        else:
            return default_val
dataset/ETHPy150Open StackHut/stackhut/stackhut_toolkit/common/barrister/runtime.py/RequestContext.get_prop/original