ExaWorks / psij-python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gracefully report wrong executor config type.

hategan opened this issue · comments

If one passes a JobExecutorConfig instead of BatchScheduelrExecutorConfig to an instance of BatchSchedulerExecutor, that results in some cryptic errors (see #356).

We could check the type on executor initialization and complain nicely instead.