def __init__(self, attributes=None, fgcolor=None, bgcolor=None, reset=False):
        if isinstance(attributes, type(self)):
            for item in ('attributes','fg', 'bg', 'isreset'):
                setattr(self, item, copy(getattr(attributes, item)))
            return
        self.attributes = attributes if attributes is not None else dict()
        self.fg = fgcolor
        self.bg = bgcolor
        self.isreset = reset
        invalid_attributes = set(self.attributes) - set(self.attribute_names)
        if len(invalid_attributes) > 0:
            raise AttributeNotFound("Attribute(s) not valid: " + ", ".join(invalid_attributes))
Initialize the next page request for the VersionsCollectionPage
dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/colorlib/styles.py/Style.__init__--crossover with--dataset/ETHPy150Open OneDrive/onedrive-sdk-python/src/python2/request/versions_collection.py/VersionsCollectionPage._init_next_page_request