We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing the following Configuration Schema raises an InvalidTwine:
"configuration_schema": {},
It seems to me that for general usability, this should be allowable and simply treated as not present.
Note that an empty python dict tests as boolean false:
dict1 = {} if dict1: print("dict1 Not Empty") else: print("dict1 is Empty") >>> dict1 is Empty
So we either have to explicitly handle the case using that truth test, or have to update the schema to allow for an empty dict.
The text was updated successfully, but these errors were encountered:
thclark
No branches or pull requests
Parsing the following Configuration Schema raises an InvalidTwine:
It seems to me that for general usability, this should be allowable and simply treated as not present.
Note that an empty python dict tests as boolean false:
So we either have to explicitly handle the case using that truth test, or have to update the schema to allow for an empty dict.
The text was updated successfully, but these errors were encountered: