How to do it: https://github.com/aiidateam/aiida_core/pull/710
How to do it: aiidateam/aiida-core#710