def METHOD_NAME(self, session, event):
    """Set task's status for first created Asset Version."""
    if not self.task_status_map:
        return
    entities_info = self.filter_event_ents(event)
    if not entities_info:
        return
    entity_ids = []
    for entity_info in entities_info:
        entity_ids.append(entity_info["entityId"])
    joined_entity_ids = ",".join(
        ["\"{}\"".format(entity_id) for entity_id in entity_ids]
    )
    asset_versions = session.query(
        "AssetVersion where id in ({})".format(joined_entity_ids)
    ).all()
    asset_version_statuses = None
    project_schema = None
    for asset_version in asset_versions:
        task_entity = asset_version["task"]
        found_item = None
        for item in self.task_status_map:
            if (
                item["key"] == "task" and
                task_entity["name"].lower() != item["name"]
            ):
                continue
            elif (
                item["key"] == "task_type" and
                task_entity["type"]["name"].lower() != item["name"]
            ):
                continue
            found_item = item
            break
        if not found_item:
            continue
        if project_schema is None:
            project_schema = task_entity["project"]["project_schema"]
        # Get all available statuses for Task
        if asset_version_statuses is None:
            statuses = project_schema.get_statuses("AssetVersion")
            # map lowered status name with it's object
            asset_version_statuses = {
                status["name"].lower(): status for status in statuses
            }
        ent_path = "/".join(
            [ent["name"] for ent in task_entity["link"]] +
            [
                str(asset_version["asset"]["name"]),
                str(asset_version["version"])
            ]
        )
        new_status = asset_version_statuses.get(found_item["status"])
        if not new_status:
            self.log.warning((
                "AssetVersion doesn't have status `{}`."
            ).format(found_item["status"]))
            continue
        try:
            asset_version["status"] = new_status
            session.commit()
            self.log.debug("[ {} ] Status updated to [ {} ]".format(
                ent_path, new_status['name']
            ))
        except Exception:
            session.rollback()
            self.log.warning(
                "[ {} ] Status couldn't be set.".format(ent_path),
                exc_info=True
            )