(cls, sbg)
return SpamAssassin(**kw)
Return a instance with the required args from ```ISBG```.

        Args:
            sbg (isbg.ISBG): His attributes will be used to initialize a
                SpamAssassin instance.
        Returns:
            SpamAssassin: A new created object with the required attributes
                based based `sbg` attributes.
Return a instance with the required args from ```ISBG```.
Return a instance with the required args from ISBG .
def create_from_isbg(cls, sbg):
        """Return a instance with the required args from ```ISBG```.

        Args:
            sbg (isbg.ISBG): His attributes will be used to initialize a
                SpamAssassin instance.
        Returns:
            SpamAssassin: A new created object with the required attributes
                based based `sbg` attributes.

        """
        kw = dict()
        for k in cls._kwargs:
            kw[k] = getattr(sbg, k)
        return SpamAssassin(**kw)
def create_from_isbg ( cls , sbg ) : kw = dict ( ) for k in cls . _kwargs : kw [ k ] = getattr ( sbg , k ) return SpamAssassin ( * * kw )