def __init__(self, ids=None, formatted_defaults=True):
        """

        :param dict ids:
        :param bool formatted_defaults:
        """
        if not ids:
            ids = {
                'models': dict(),
                'decks': dict(),
                'cards': dict(),
                'notes': dict()
            }

        self.ids = dict()
        for k, v in ids.items():
            self.ids[k] = set(ids[k].keys())

        self.formatted_defaults = formatted_defaults
def __init__ ( self , ids = None , formatted_defaults = True ) : if not ids : ids = { 'models' : dict ( ) , 'decks' : dict ( ) , 'cards' : dict ( ) , 'notes' : dict ( ) } self . ids = dict ( ) for k , v in ids . items ( ) : self . ids [ k ] = set ( ids [ k ] . keys ( ) ) self . formatted_defaults = formatted_defaults
:param dict ids:
        :param bool formatted_defaults: