This repository has been archived by the owner on Jan 20, 2024. It is now read-only.
[BUG]ET_DataExtension requires a columns list, even if there is no intent to add columns #131
Open
1 of 4 tasks
Labels
Describe the bug
Using the ET_DataExtension() class to (for example) rename a data extension doesn't work unless you create columns attribute with an empty list.
To Reproduce
Specifically, this code, from the documentation, here, fails.
It works though, if you add this line someplace before the call to patch()
dataextension.columns = []
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Code snippet
Environment
The bug has the severity
Additional context
Possible fix: line 176 and line 186 should have an if around them. Maybe all of 171-188 should have that if because (maybe) the only purpose of that code is to add columns for either a single or multiple DE's, but I'm not clear on that.
The text was updated successfully, but these errors were encountered: