You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your work! One thing I find is missing is logging of error. For instance, when adding an entity without an id and putting it in the dataset, no errors occur even though the item was not actually added.
from ftmstore import Dataset, Store
from followthemoney import model
dataset = Dataset(store=Store(), name="test")
event = model.make_entity("Event")
# event.make_id("my_id") # let's say I forgot this line
dataset.put(event)
for elt in dataset.iterate():
print(elt)
In that case, my dataset will be empty but I get no error or warning messages.
Best,
The text was updated successfully, but these errors were encountered:
pudo
transferred this issue from alephdata/followthemoney
Feb 18, 2022
Hi there,
Thanks for your work! One thing I find is missing is logging of error. For instance, when adding an entity without an id and putting it in the dataset, no errors occur even though the item was not actually added.
In that case, my dataset will be empty but I get no error or warning messages.
Best,
The text was updated successfully, but these errors were encountered: