Skip to content

Commit aed33aa

Browse files
fix: break circular import
1 parent 1fc0c8a commit aed33aa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • snakemake_interface_executor_plugins/registry

snakemake_interface_executor_plugins/registry/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
ExecutorSettingsBase,
1111
)
1212

13-
from snakemake_interface_executor_plugins.executors.base import AbstractExecutor
1413
from snakemake_interface_common.plugin_registry.attribute_types import (
1514
AttributeKind,
1615
AttributeMode,
@@ -38,6 +37,8 @@ def load_plugin(self, name: str, module: types.ModuleType) -> Plugin:
3837
)
3938

4039
def expected_attributes(self) -> Mapping[str, AttributeType]:
40+
# break otherwise circular import
41+
from snakemake_interface_executor_plugins.executors.base import AbstractExecutor
4142
return {
4243
"common_settings": AttributeType(
4344
cls=CommonSettings,

0 commit comments

Comments
 (0)