def METHOD_NAME(self):
    rc = {
        "api": self.api,
        "bulk_mode": self.bulk_mode,
        "batch_size": self.batch_size,
        "anchor_date": self.anchor_date,
    }
    return {k: v for k, v in rc.items() if v is not None}