See Tutorial

Download Grasshopper file

generative_function_facade.py
from generative.plugins.server.grasshopper.function import GrasshopperFile

class GrasshopperGenerativeHouse(GrasshopperFile):
    file_path = "grasshopper-house.gh"
    timeout_seconds = 100