I am trying to build a Python Toolbox, like in the following code snippet. However I got error because of the last line (Filter) . I have to filter the files because without the filter the output window shows all kind of data including Feature class.
param1 = arcpy.Parameter(
displayName="Output Raster Dataset",
param1 .filter.list = ["Raster"]