OpenBioLink/ThoughtSource

Default values for str if empty: None or ""

Closed this issue · 2 comments

We should settle on a default value for string field if they are null: Should we assign these fields the values None or ""?

@KonstantinHebenstreit I think we de-facto settled to defaulting on ""?

Most default values are set in a simple and useful way in the file 'config.py' now.
If you do not want to give a value you can use None. Only exception is the field author, which is left blank "" as a default and can not be None but just a string.