it would be nice if storm provided entity class decorator

Bug #691757 reported by wrobell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Storm
New
Undecided
Unassigned

Bug Description

it would be nice if storm provided entity class decorator,
for example

def entity(table):
    def deco(cls):
        cls.__storm_table__ = table
        return cls

    return deco

above could be used as follows

@entity("person")
class Person(object):
    ....

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.