Garden-AI / garden

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

migration: toggle `local_data` module #494

Closed OwenPriceSkelly closed 3 months ago

OwenPriceSkelly commented 3 months ago

Step 0 to replace our usage of local data with backend API calls is the ability to switch local_data off entirely when developing, without changing the behavior of the sdk for anyone else.

In the presence of a GARDEN_DISABLE_LOCAL_DATA environment variable, the sdk should not be able to call anything defined in local_data.py.