Skip to content

Commit

Permalink
update rst_fromcontent signature.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohns-databricks committed Jan 8, 2024
1 parent da5b5fd commit b579239
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions python/mosaic/api/raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -917,19 +917,18 @@ def rst_tessellate(raster: ColumnOrName, resolution: ColumnOrName) -> Column:
)


def rst_fromcontent(raster: ColumnOrName, driver: ColumnOrName, parentPath: ColumnOrName, sizeInMB: ColumnOrName) -> Column:
def rst_fromcontent(raster: ColumnOrName, driver: ColumnOrName, sizeInMB: ColumnOrName) -> Column:
"""
Tiles the raster binary into tiles of the given size.
:param raster:
:param driver:
:param parentPath:
:param sizeInMB:
:return:
"""

return config.mosaic_context.invoke_function(
"rst_fromcontent", pyspark_to_java_column(raster), pyspark_to_java_column(driver),
pyspark_to_java_column(parentPath), pyspark_to_java_column(sizeInMB)
pyspark_to_java_column(sizeInMB)
)


Expand Down

0 comments on commit b579239

Please sign in to comment.