@classmethod
def from_connector(cls, connector: 'Connector') ->'Connector':
    """
        Get current class' connector instance. Implemented method.
        :param connector: old connector to be replace
        """
    return cls(timeout=connector.timeout, default_headers=connector.
        default_headers, loop=connector.loop)
