intel / intel/mfd-network-adapter

Drop support for Owner

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Owner is an optional field, but connection should be provided instead. We should remove owner with next breaking version.

Unit tests and all classes should be ready to just remove owner field from the interface and remove checks also (checks if one of [conn, owner] provided).

Interface class should look like that after changes:


```
class NetworkInterface(ABC):
def __init__(
self,
*,
connection: "Connection",
interface_info: "InterfaceInfo",
topology: Optional["NetworkInterfaceModel"] = None,
)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.