DoWhy is a Python library for causal inference that supports explicit modeling and testing of causal assumptions. DoWhy is based on a unified language for causal inference, combining causal graphical models and potential outcomes frameworks.
The graph module uses Protocols, which have been natively supported since Python 3.8 (the required minimum version for DoWhy). To support Protocols in earlier Python versions, an extension provided Protocol support. However, this extension can cause compatibility issues with newer versions of other packages. With this change, DoWhy now uses the Protocol implementation that has been available since Python 3.8.
The graph module uses Protocols, which have been natively supported since Python 3.8 (the required minimum version for DoWhy). To support Protocols in earlier Python versions, an extension provided Protocol support. However, this extension can cause compatibility issues with newer versions of other packages. With this change, DoWhy now uses the Protocol implementation that has been available since Python 3.8.