Skip to content

Conversation

@petrutlucian94
Copy link
Member

PyMI contains a workaround to avoid returning boolean values for void MI functions, mostly in an attempt to remain compatible with other WMI libraries.

The problem is that we're losing all boolean return values. We could just drop the workaround and let PyMI return boolean values even for void functions, however that might break some applications.

Instead, we'll add an optional argument called "keep_bool_ret_vals", which can explicitly request the boolean return values to be preserved.

PyMI contains a workaround to avoid returning boolean values for
void MI functions, mostly in an attempt to remain compatible with
other WMI libraries.

The problem is that we're losing boolean return values. We could
just drop the workaround and let PyMI return boolean values even
for void functions, however that might break some applications.

Instead, we'll add an optional argument called
"keep_bool_ret_vals", which can explicitly request the boolean
return values to be preserved.
@ader1990
Copy link
Member

ader1990 commented Nov 7, 2024

LGTM.

@petrutlucian94 petrutlucian94 merged commit 762e639 into cloudbase:master Nov 7, 2024
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