-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into feature/sharepoint_list_extension_KPI5
- Loading branch information
Showing
20 changed files
with
802 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,3 +43,4 @@ dbt-core==1.3.2 | |
dbt-sqlserver==1.3.1 | ||
lumaCLI==0.0.19 | ||
Office365-REST-Python-Client==2.4.4 | ||
TM1py==1.11.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import pandas as pd | ||
|
||
from viadot.tasks import TM1ToDF | ||
from viadot.config import local_config | ||
|
||
CUBE = local_config.get("test_cube") | ||
VIEW = local_config.get("test_view") | ||
|
||
|
||
def test_tm1_to_df(): | ||
tm1 = TM1ToDF(CUBE, VIEW) | ||
df = tm1.run() | ||
|
||
assert isinstance(df, pd.DataFrame) | ||
assert df.empty is False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.