[nailgun] Provide more debugging info for nailgun model entities

Bug #1268278 reported by Victor Denisov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Wishlist
Fuel Sustaining
Mitaka
Won't Fix
Wishlist
Fuel Python (Deprecated)
Newton
Confirmed
Wishlist
Fuel Sustaining

Bug Description

I would suggest to provide __repr__ method for all entities from nailgun.db.sqlalchemy.model classes.
It may increase debuggability of fuel.

Changed in fuel:
assignee: nobody → Victor Denisov (vdenisov)
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
importance: Undecided → Wishlist
status: New → Confirmed
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: none → 5.0
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 5.0 → 5.1
Dmitry Ilyin (idv1985)
summary: - Provide more debugging info for nailgun model entities
+ [nailgun] Provide more debugging info for nailgun model entities
Changed in fuel:
milestone: 5.1 → 6.0
Changed in fuel:
milestone: 6.0 → 6.1
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Victor Denisov (vdenisov) → Fuel Python Team (fuel-python)
Revision history for this message
Evgeniy L (rustyrobot) wrote :

It's easy to do for all models at once just add into base class convert method [1]

[1] http://stackoverflow.com/questions/1958219/convert-sqlalchemy-row-object-to-python-dict

tags: added: size-s
Dmitry Pyzhov (dpyzhov)
tags: added: tech-debt
removed: nailgun
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 6.1 → next
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: next → 7.0
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 7.0 → 8.0
Dmitry Pyzhov (dpyzhov)
tags: added: area-python
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

We passed SCF in 8.0. Moving the bug to 9.0.

Changed in fuel:
milestone: 8.0 → 9.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.