mirror of
https://github.com/hwchase17/langchain
synced 2024-11-18 09:25:54 +00:00
11 lines
509 B
Python
11 lines
509 B
Python
|
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.tools.powerbi.tool import QueryPowerBITool # noqa
|
||
|
from langchain.agents.agent_toolkits import PowerBIToolkit, create_pbi_agent # noqa
|
||
|
from langchain.utilities.powerbi import PowerBIDataset # noqa
|