@@ -201,7 +201,7 @@ def get_metadata(self):
201201 def set_metadata (self , metadata ):
202202 """
203203 Set the metadata on this recipe.
204- :params dict metadata: the new state of the metadata for the recipe. You should only set a metadata object
204+ :params dict metadata: the new state of the metadata for the recipe. You should only set a metadata object
205205 that has been retrieved using the get_metadata call.
206206 """
207207 return self .client ._perform_json (
@@ -225,7 +225,7 @@ def get_continuous_activity(self):
225225 return DSSContinuousActivity (self .client , self .project_key , self .recipe_name )
226226
227227class DSSRecipeStatus (object ):
228- """Status of a recipce.
228+ """Status of a recipce.
229229 Do not create that directly, use :meth:`DSSRecipe.get_status`"""
230230
231231 def __init__ (self , client , data ):
@@ -269,7 +269,7 @@ def get_status_messages(self):
269269 """
270270 Returns status messages for this recipe.
271271
272- :returns: a list of dict, for each status message. Each dict represents a single message,
272+ :returns: a list of dict, for each status message. Each dict represents a single message,
273273 and contains at least a "severity" field (SUCCESS, WARNING or ERROR)
274274 and a "message" field
275275 :rtype: list
@@ -612,7 +612,7 @@ def build(self):
612612
613613 def create (self ):
614614 """
615- Creates the new recipe in the project, and return a handle to interact with it.
615+ Creates the new recipe in the project, and return a handle to interact with it.
616616
617617 Returns:
618618 A :class:`dataikuapi.dss.recipe.DSSRecipe` recipe handle
@@ -787,7 +787,7 @@ def __init__(self, name, project):
787787
788788 def with_group_key (self , group_key ):
789789 """
790- Set a column as the first grouping key. Only a single grouping key may be set
790+ Set a column as the first grouping key. Only a single grouping key may be set
791791 at recipe creation time. For additional groupings, get the recipe settings
792792
793793 :param str group_key: name of a column in the input dataset
@@ -1030,6 +1030,13 @@ class FuzzyJoinRecipeCreator(VirtualInputsSingleOutputRecipeCreator):
10301030 def __init__ (self , name , project ):
10311031 VirtualInputsSingleOutputRecipeCreator .__init__ (self , 'fuzzyjoin' , name , project )
10321032
1033+ class GeoJoinRecipeCreator (VirtualInputsSingleOutputRecipeCreator ):
1034+ """
1035+ Create a GeoJoin recipe
1036+ """
1037+ def __init__ (self , name , project ):
1038+ VirtualInputsSingleOutputRecipeCreator .__init__ (self , 'geojoin' , name , project )
1039+
10331040class StackRecipeSettings (DSSRecipeSettings ):
10341041 """
10351042 Settings of a stack recipe. Do not create this directly, use :meth:`DSSRecipe.get_settings`
@@ -1175,8 +1182,8 @@ def with_new_output_dataset(self, name, connection,
11751182 :param str connection_id: name of the connection to create the dataset on
11761183 :param str type: type of dataset, for connection where the type could be ambiguous. Typically,
11771184 this is SCP or SFTP, for SSH connection
1178- :param str format: name of a format preset relevant for the dataset type. Possible values are: CSV_ESCAPING_NOGZIP_FORHIVE,
1179- CSV_UNIX_GZIP, CSV_EXCEL_GZIP, CSV_EXCEL_GZIP_BIGQUERY, CSV_NOQUOTING_NOGZIP_FORPIG, PARQUET_HIVE,
1185+ :param str format: name of a format preset relevant for the dataset type. Possible values are: CSV_ESCAPING_NOGZIP_FORHIVE,
1186+ CSV_UNIX_GZIP, CSV_EXCEL_GZIP, CSV_EXCEL_GZIP_BIGQUERY, CSV_NOQUOTING_NOGZIP_FORPIG, PARQUET_HIVE,
11801187 AVRO, ORC. If None, uses the default
11811188 :param str copy_partitioning_from: Whether to copy the partitioning from another thing.
11821189 Use None for not partitioning the output, "FIRST_INPUT" to copy from the first input of the recipe,
0 commit comments