Skip to content
New issue

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

Allow use of empty string as a value for a Attribute #108

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

martin-pil
Copy link
Contributor

As talked about in #107

No tests are affected by this change, all tests ran fine locally.

@phillbaker
Copy link
Member

phillbaker commented Sep 12, 2024 via email

@martin-pil
Copy link
Contributor Author

After looking into "tostr" simplified the code a bit, but I would say that the check must have been used to block empty strings as tostr will always return a string. Hope that this is still something that can be added to suds.

suds/mx/appender.py Show resolved Hide resolved
tests/test_mx_appender.py Outdated Show resolved Hide resolved
tostr will always return a string regardless of input,
no check on value is needed as empty string is allowed.

Change-Id: I9204f196ad5b6df33451e012d764a32922b577c3
@phillbaker phillbaker merged commit aad3cea into suds-community:master Sep 26, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants