Skip to content

[Proposal] Add Optional (default None) to Node classes #1679

Open
@ccrvlh

Description

@ccrvlh

Proposal

Some classes have attributes that are not required for building a Node.
For example, we don't need the NodeSize.bandwidth argument to create a new node. Only the id is necessary. But we still have to instanciate the NodeSize class with bandwidth=None since it's a required argument.
It could be possible to add a default None value to each optional argument to make things simpler when using Sizes/Images/Locations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions