You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The intent is to load the default platform (i.e. to imply name='default'), and then pass the jvmargs to JDBCBackend.
However, this currently fails, because the second branch of this inner if statement is activated, not the first. So name='default' is not inferred; only backend='jdbc'.
…in this case, name is None, backend is None, and len(backend_args) > 0. To make this enhancement, the last condition is the tricky one: sometimes giving backend_args means "use the default JDBCBackend", and at other times it means "use the default Platform config"; it's difficult for Platform.init to guess which is which.
@behnam-zakeri reports trying the following:
The intent is to load the default platform (i.e. to imply name='default'), and then pass the jvmargs to JDBCBackend.
However, this currently fails, because the second branch of this inner
if
statement is activated, not the first. So name='default' is not inferred; only backend='jdbc'.ixmp/ixmp/core.py
Lines 61 to 72 in c2e8929
Behnam says it would be desirable to support the example code above.
The text was updated successfully, but these errors were encountered: