Download tests/data.py from mlnsio/text2sql: direct link, hf CLI and curl.
- Browser
- Download file 231 Bytes
-
https://huggingface.co/spaces/mlnsio/text2sql/resolve/main/tests/data.py
- Command line
-
hf download hf://spaces/mlnsio/text2sql/tests/data.py
-
curl -L -o data.py https://huggingface.co/spaces/mlnsio/text2sql/resolve/main/tests/data.py
231 Bytes
| import os | |
| import json | |
| from django.conf import settings | |
| def get_mflist_data(): | |
| with open( | |
| os.path.join(settings.BASE_DIR, "tests/data/morningstar_mf_list.json") | |
| ) as f: | |
| data = json.load(f) | |
| return data | |