Skip to content

Commit

Permalink
init props
Browse files Browse the repository at this point in the history
  • Loading branch information
evertheylen committed May 17, 2016
1 parent 84cc939 commit e19d786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sparrow/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ def __metainit__(obj, db_args=None, json_dict=None, **kwargs):
if isinstance(cls.key, Property):
cls.key.cls = cls

cls._select_props = ", ".join([p.name for p in cls._props])
cls._select_props = ", ".join([p.name for p in itertools.chain(init_properties, init_raw_ref_properties)])
cls._create_table_command = CreateTable(cls).to_raw()
cls._drop_table_command = DropTable(cls).to_raw()
if cls._incomplete:
Expand Down

0 comments on commit e19d786

Please sign in to comment.