Skip to content

Commit b77a1dd

Browse files
Modify the return field for cdpy
Signed-off-by: Saravanan Raju <[email protected]>
1 parent 74ad924 commit b77a1dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cdpy/dw.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ def delete_vw(self, cluster_id:str, vw_id:str):
134134

135135
def create_dbc(self, cluster_id:str, name:str, load_demo_data: bool = None):
136136
return self.sdk.call(
137-
svc='dw', func='create_dbc', clusterId = cluster_id, name=name, loadDemoData = load_demo_data
137+
svc='dw', func='create_dbc', ret_field='dbcId', clusterId = cluster_id, name=name,
138+
loadDemoData = load_demo_data
138139
)
139140

140141
def delete_dbc(self, cluster_id:str, dbc_id:str):

0 commit comments

Comments
 (0)