forked from TrueCloudLab/frostfs-testlib
[#365] Change type hint for NetmapOperations.nodeinfo
Signed-off-by: Kirill Sosnovskikh <k.sosnovskikh@yadro.com>
This commit is contained in:
parent
3966f65c95
commit
dcde9e15b1
3 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
from abc import ABC, abstractmethod
|
||||
from typing import List, Optional
|
||||
|
||||
from frostfs_testlib.storage.dataclasses.storage_object_info import NodeNetInfo, NodeNetmapInfo
|
||||
from frostfs_testlib.storage.dataclasses.storage_object_info import NodeInfo, NodeNetInfo, NodeNetmapInfo
|
||||
|
||||
|
||||
class NetmapInterface(ABC):
|
||||
|
@ -50,7 +50,7 @@ class NetmapInterface(ABC):
|
|||
ttl: Optional[int] = None,
|
||||
xhdr: Optional[dict] = None,
|
||||
timeout: Optional[str] = None,
|
||||
) -> NodeNetmapInfo:
|
||||
) -> NodeInfo:
|
||||
"""
|
||||
Get target node info.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue