alan-turing-institute / alan-turing-institute/sqlsynthgen
Add arbitrary import list option
Open
- Dominant language
- Python
- Stars
- 12
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
If we want to use e.g. `random.randint()` in ssg.py, we need to have imported `random`.
We could have an `imports` part of the config:
**config.yaml**
```yaml
imports: ["package1", "package2"]
```
which would translate to
**ssg.py**
```python
import package1
import package2
```
Contributor guide
Assessment
This issue has not been assessed yet.