Garden-AI / garden

https://garden-ai.readthedocs.io
MIT License
17 stars 4 forks source link

Make the @test_function not run during publication #383

Closed WillEngler closed 7 months ago

WillEngler commented 8 months ago

Problem: Users need to test in the notebook to make sure their entrypoint works. But then they have to remember to comment out the function that executes it. This is a common way for people to be tripped up.

Solution: Have the @test_function not run during publication time, and make clear to users in the template notebooks that this is the "right" way to do things.

Assumptions:

1. 2.

Acceptance Criteria

Given..., when..., then...