Skip to content

Commit 86a37ae

Browse files
author
kgued
committed
clean up from merge, remove function recipe replaced by new merged code_recipe
1 parent 0a8601c commit 86a37ae

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

dataikuapi/dss/dataset.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -485,16 +485,6 @@ def new_code_recipe(self, type, code=None, recipe_name=None):
485485
builder.with_script(code)
486486
return builder
487487

488-
def new_function_recipe(self, type, recipe_name=None):
489-
"""Starts creation of a new function code recipe taking this dataset as input"""
490-
491-
if recipe_name is None:
492-
recipe_name = "%s_recipe_from_%s" % (type, self.dataset_name)
493-
builder = recipe.FunctionCodeRecipeCreator(recipe_name, type, self.project)
494-
builder.with_input(self.dataset_name)
495-
496-
return builder
497-
498488
def new_grouping_recipe(self, first_group_by, recipe_name=None):
499489
if recipe_name is None:
500490
recipe_name = "group_%s" % (self.dataset_name)

dataikuapi/dss/recipe.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,6 @@ def with_function(self, fn, function_args=None, custom_template=None):
11151115
module_name = inspect.getmodule(fn).__name__
11161116
fname = fn.__name__
11171117
return self.with_function_name(module_name, fname, function_args, custom_template)
1118-
>>>>>>> origin/feature/new-dataset-management-apis
11191118

11201119
class SQLQueryRecipeCreator(SingleOutputRecipeCreator):
11211120
"""

0 commit comments

Comments
 (0)