forked from Archives/langchain
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
|