SFDO-Tooling / Snowfakery

A tool for generating fake data that has relations between tables.
BSD 3-Clause "New" or "Revised" License
141 stars 32 forks source link

Clean up warnings in tests and at runtime. #1027

Closed prescod closed 5 months ago

prescod commented 5 months ago

In snowfakery/data_generator_runtime.py : print more information about the exception by using repr(e) instead of str(e)

In several other files, put a message in every NotImplementeError

And make sure that FileDatasets have a close() method so it doesn't generate warnings.

salesforce-cla[bot] commented 5 months ago

Thanks for the contribution! Before we can merge this, we need @prescod to sign the Salesforce Inc. Contributor License Agreement.

prescod commented 5 months ago

As usual, the CLA Bot is bugged. I've signed it.

prescod commented 5 months ago
image