← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1577648] [NEW] Many classes lack @six.add_metaclass decoration

 

Public bug reported:

There are roughly a dozen classes in Neutron that define abstract
methods or properties but are not decorated with
@six.add_metaclass(abc.ABCMeta). Without this decoration, children can
be created without defining the required methods or properties.

Decorating RBACColumns in db/rbac_db_models.py causes failures and will
be reported separately.

** Affects: neutron
     Importance: Undecided
     Assignee: John Perkins (john-d-perkins)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1577648

Title:
  Many classes lack @six.add_metaclass decoration

Status in neutron:
  In Progress

Bug description:
  There are roughly a dozen classes in Neutron that define abstract
  methods or properties but are not decorated with
  @six.add_metaclass(abc.ABCMeta). Without this decoration, children can
  be created without defining the required methods or properties.

  Decorating RBACColumns in db/rbac_db_models.py causes failures and
  will be reported separately.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1577648/+subscriptions


Follow ups