Open ajoaoff opened 3 years ago
Original issue opened by @erickvermot at https://github.com/kytos/python-openflow/issues/426.
GenericType accepts a value named argument in its initialization that defaults to None. I propose we keep the GenericType derivatives consistent, naming their initialization argument value and letting them accept None.
GenericType
value
None
BinaryData case is treated in: https://github.com/kytos/python-openflow/issues/420
and Pad is treated as a special case.
The proposed modifications were introduced in #392 , and is now isolated in another branch (https://github.com/kytos/python-openflow/compare/master...erickvermot:generictype_init_value_pr) since #392 was rejected.
Original issue opened by @erickvermot at https://github.com/kytos/python-openflow/issues/426.
GenericType
accepts avalue
named argument in its initialization that defaults toNone
. I propose we keep theGenericType
derivatives consistent, naming their initialization argumentvalue
and letting them acceptNone
.BinaryData case is treated in: https://github.com/kytos/python-openflow/issues/420
and Pad is treated as a special case.
The proposed modifications were introduced in #392 , and is now isolated in another branch (https://github.com/kytos/python-openflow/compare/master...erickvermot:generictype_init_value_pr) since #392 was rejected.