SEACrowd / seacrowd-datahub

A collaborative project to collect datasets in SEA languages, SEA regions, or SEA cultures.
Apache License 2.0
55 stars 54 forks source link

Import `schemas` beforehand on `templates/template.py` #644

Closed muhammadravi251001 closed 2 months ago

muhammadravi251001 commented 2 months ago

Issue: This PR simply adds the schemas import statement in templates/template.py (from seacrowd.utils import schemas). This is to ease the _info(self) section for the seacrowd schema.

After working on the data loader multiple times, I had to manually (or automatically) import to fill in that code section. By importing schemas beforehand, it at least eases (a bit) the repetitive issue.