-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The value of an error should be returned as None not an empty string on success. This makes the code look more idiomatic even when returning a tuple where the last member is the err value.
err = dataset.create(c_name, key, obj)
if err is not None:
print(f'cannot created {key}, {err}', file = sys.stderr)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request