Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 3.4.1, fix missing dependencies #867

Merged
merged 3 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions nornir/core/plugins/connections.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
from typing import Any, Dict, Type, Optional
from typing import Any, Dict, Type, Optional, Protocol

from nornir.core.configuration import Config
from nornir.core.plugins.register import PluginRegister

from typing_extensions import Protocol


CONNECTIONS_PLUGIN_PATH = "nornir.plugins.connections"

Expand Down
4 changes: 1 addition & 3 deletions nornir/core/plugins/inventory.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
from typing import Any, Type
from typing import Any, Type, Protocol

from nornir.core.inventory import Inventory, TransformFunction
from nornir.core.plugins.register import PluginRegister

from typing_extensions import Protocol


INVENTORY_PLUGIN_PATH = "nornir.plugins.inventory"
TRANSFORM_FUNCTION_PLUGIN_PATH = "nornir.plugins.transform_function"
Expand Down
4 changes: 1 addition & 3 deletions nornir/core/plugins/runners.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
from typing import Any, List, Type
from typing import Any, List, Type, Protocol

from nornir.core.task import AggregatedResult, Task
from nornir.core.inventory import Host
from nornir.core.plugins.register import PluginRegister

from typing_extensions import Protocol


RUNNERS_PLUGIN_PATH = "nornir.plugins.runners"

Expand Down
4 changes: 1 addition & 3 deletions nornir/core/processor.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
from typing import List
from typing import List, Protocol

from nornir.core.inventory import Host
from nornir.core.task import AggregatedResult, MultiResult, Task

from typing_extensions import Protocol


class Processor(Protocol):
"""
Expand Down
Loading
Loading