skpy/core.py
def fromRaw(cls, skype=None, raw={}):
        """
        Create a new instance based on the raw properties of an API response.

        This can be overridden to automatically create subclass instances based on the raw content.

        Args:
            skype (Skype): parent Skype instance
            raw (dict): raw object, as provided by the API

        Returns:
            SkypeObj: the new class instance
        """
        return cls(skype, raw, **cls.rawToFields(raw))
def fromRaw(cls, skype=None, raw={}):
        return cls(skype, raw, **cls.rawToFields(raw))
def fromRaw ( cls , skype = None , raw = { } ) : return cls ( skype , raw , * * cls . rawToFields ( raw ) )
Create a new instance based on the raw properties of an API response.

        This can be overridden to automatically create subclass instances based on the raw content.

        Args:
            skype (Skype): parent Skype instance
            raw (dict): raw object, as provided by the API

        Returns:
            SkypeObj: the new class instance
Create a new instance based on the raw properties of an API response .