alan-turing-institute / sqlsynthgen

Synthetic data for SQL databases
MIT License
11 stars 1 forks source link

Validate that args is a list #131

Closed Iain-S closed 1 year ago

Iain-S commented 1 year ago

In the table part of the config,

table_name:
  row_generators:
    - name: something
    - args:
         somekey: someval

it's quite easy to accidentally put a dict under args. We should validate that this is a list

Iain-S commented 1 year ago

We do, in fact, check that this is a list but it's quite easy to miss so I have created #135