def get_property ( self , name ) : # type: (str) -> object with self . __properties_lock : return self . __properties . get ( name , os . getenv ( name ) )
returns property object instead of its value python
Retrieves a framework or system property . As framework properties don t change while it s running this method don t need to be protected .
def get_property(self, name):
        # type: (str) -> object
        """
        Retrieves a framework or system property. As framework properties don't
        change while it's running, this method don't need to be protected.

        :param name: The property name
        """
        with self.__properties_lock:
            return self.__properties.get(name, os.getenv(name))