Currently, using custom_attributes of Source and Sink classes will lead to an exception. A similar issue was addressed in #1032, but the fix did not cover these classes. #929 Seems also to be related to this.
If there isn't more to it, I'll create a PR for a fix.
Reproduction
Setup fresh venv, run only pip install oemof-solph to get the following dependencies:
Currently, using
custom_attributes
ofSource
andSink
classes will lead to an exception. A similar issue was addressed in #1032, but the fix did not cover these classes. #929 Seems also to be related to this.If there isn't more to it, I'll create a PR for a fix.
Reproduction
Setup fresh venv, run only
pip install oemof-solph
to get the following dependencies:Run the following script:
Get the exception:
(same for
_source.py
)