Skip to content

Optional Imports#84

Merged
Mariosmsk merged 1 commit into
OpenWaterAnalytics:devfrom
angusmcb:optional-deps
Feb 2, 2026
Merged

Optional Imports#84
Mariosmsk merged 1 commit into
OpenWaterAnalytics:devfrom
angusmcb:optional-deps

Conversation

@angusmcb
Copy link
Copy Markdown

Makes all imports optional by giving warnings rather than failing on ImportError.

This allows the api to be used without any dependencies (which is useful for my use case where I do not have control over the python environment but would like to use the epanetapi class).

@Mariosmsk Mariosmsk merged commit 547cde4 into OpenWaterAnalytics:dev Feb 2, 2026
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