powsybl / pypowsybl

A PowSyBl and Python integration based on GraalVM native image
Mozilla Public License 2.0
53 stars 10 forks source link

[Network modifications] Default values for raise_exception is True. #712

Closed colinepiloquet closed 6 months ago

colinepiloquet commented 6 months ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

Feature change

What is the current behavior?

If no boolean is given, default value is False, which can be confusing for a user.

What is the new behavior (if this is a feature change)? Default value is True, an exception will always be raised unless the user explicitly indicates it should not.