Skip to content

Commit b1626d1

Browse files
committed
added in convert
1 parent 694a1bd commit b1626d1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ An even better way to ensure the semantic-link-labs library is available in your
123123
2. Select your newly created environment within the 'Environment' drop down in the navigation bar at the top of the notebook
124124

125125
## Version History
126-
* [0.9.7](https://github.com/microsoft/semantic-link-labs/releases/tag/0.9.7) (March 31, 2025)
126+
* [0.9.7](https://github.com/microsoft/semantic-link-labs/releases/tag/0.9.7) (April 1, 2025)
127127
* [0.9.6](https://github.com/microsoft/semantic-link-labs/releases/tag/0.9.6) (March 12, 2025)
128128
* [0.9.5](https://github.com/microsoft/semantic-link-labs/releases/tag/0.9.5) (March 7, 2025)
129129
* [0.9.4](https://github.com/microsoft/semantic-link-labs/releases/tag/0.9.4) (February 27, 2025)

src/sempy_labs/tom/_model.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4962,7 +4962,7 @@ def add_to_result(table_name, object_name, object_type, dataframe):
49624962
# Return the objects added to the perspective based on dependencies
49634963
return result_df.drop_duplicates()
49644964

4965-
def _convert_direct_lake_to_import(
4965+
def convert_direct_lake_to_import(
49664966
self,
49674967
table_name: str,
49684968
entity_name: Optional[str] = None,
@@ -5065,6 +5065,8 @@ def _generate_m_expression(
50655065
# Remove the Direct Lake partition
50665066
self.remove_object(object=p)
50675067

5068+
print(f"{icons.green_dot} The '{table_name}' table has been converted to Import mode.")
5069+
50685070
def close(self):
50695071

50705072
if not self._readonly and self.model is not None:

0 commit comments

Comments
 (0)