def __init__(self, sys=None):
        """Resource constructor.

        :param sys: (dict) resource system attributes.
        :return: :class:`.Resource` instance.
        """
        super(Resource, self).__init__()
        self.sys = sys or {}
def __init__ ( self , sys = None ) : super ( Resource , self ) . __init__ ( ) self . sys = sys or { }
Resource constructor.

        :param sys: (dict) resource system attributes.
        :return: :class:`.Resource` instance.