Skip to content

Drop support for Owner #2

@adrianlasota

Description

@adrianlasota

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,
    )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions