aiida-core
aiida-core copied to clipboard
❓ Is there any reason why we need to load a profile to instantiate a class?
The following:
from aiida.orm import Int
Int(1)
will (apparently) fail with:
ConfigurationError: Could not determine the current profile. Consider loading a profile using `aiida.load_profile()`.
is there a good reason for this? I understand once the user tries to store the node, this needs a database and hence a profile, but why when we use a class constructor?