WEB3-GForce / VOTE

Translation of Professor Slade's VOTE system from Lisp to Python
1 stars 1 forks source link

Stances DB Source #2

Open WEB3-GForce opened 8 years ago

WEB3-GForce commented 8 years ago

All stances that we make need to have the source_db variable defined; otherwise the decision object in decision_stats.py won't be initialized properly.

@krishpop , could you make sure that all our stances in the DB are properly defined?

WEB3-GForce commented 8 years ago

To find the source, you can do the following:

collection.name

So, if you did the following:

MEMBER.name

for this collection defined in database.py, you could get the string name.

krishpop commented 8 years ago

Yep, they all have the right names

On Dec 21, 2015, 14:47 -0800, William Edward Bailey, IIInotifications@github.com, wrote:

To find the source, you can do the following:

collection.name

So, if you did the following:

MEMBER.name

for this collection defined in database.py, you could get the string name.

— Reply to this email directly orview it on GitHub(https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_WEB3-2DGForce_VOTE_issues_2-23issuecomment-2D166444990&d=AwMCaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=lG0YxfQ6xJLC4tZac9SdQa9bOCktTM7svk6tAgxDZEg&m=NR50P3bhZDhtz3ZQD2jaoyLanIwqkBkkkX0Aw3NNGQQ&s=hkJr0gjNHq7LDzI0agQbGRtpFadDYgLz5y0uE3SJ99o&e=).