def test_power_bi_can_be_imported() -> None: """Test that powerbi tools can be imported. The goal of this test is to verify that langchain users will not get import errors when loading powerbi related code if they don't have optional dependencies installed. """ from langchain_community.tools.powerbi.tool import QueryPowerBITool # noqa from langchain_community.agent_toolkits import PowerBIToolkit, create_pbi_agent # noqa from langchain_community.utilities.powerbi import PowerBIDataset # noqa