code: def test_slice_find_by_id_skip_base_filter(
      session_with_data: Session,
  ) -> None:
      from superset.daos.chart import ChartDAO
      from superset.models.slice import Slice
  
      result = ChartDAO.find_by_id(
          1, session=session_with_data, skip_base_filter=True
      )
  
      assert result
      assert 1 == result.id
      assert "slice_name" == result.slice_name
      assert isinstance(result, Slice)
  
file_path: superset/tests/unit_tests/charts/dao/dao_tests.py
imports: from collections.abc import Iterator
  import pytest
  from sqlalchemy.orm.session import Session
  from superset.utils.core import DatasourceType
label_desc: Use image node_id 2 for calling a global function with example usage: test_slice_find_by_id_skip_base_filter(session_with_data) without return types