Skip to content

Commit 90382df

Browse files
Included error message for gen2 create
Added a value error and placeholder for a gen2 type selection
1 parent 19c2a75 commit 90382df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/sempy_labs/_dataflows.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,9 @@ def get_dataflow_definition(
288288
# Placeholder for future API implementation
289289
client = {}
290290
response = {}
291+
raise ValueError(
292+
f"The dataflow type '{type}' is not a valid option at this time and is a placeholder for future API implementation."
293+
)
291294
else:
292295
raise ValueError(
293296
f"The dataflow type '{type}' is not a valid option."

0 commit comments

Comments
 (0)