<s> import os <EOL> os . environ [ "<STR_LIT>" ] = "<STR_LIT>" <EOL> from myapp . models import Entry , Person <EOL> doc , c = Person . elasticsearch . get_or_create ( name = "<STR_LIT>" , defaults = { '<STR_LIT>' : "<STR_LIT>" , '<STR_LIT>' : <NUM_LIT:10> } ) <EOL> print doc . pk <EOL> print doc . surname <EOL> print doc . age <EOL> cursor = Person . elasticsearch . filter ( age = <NUM_LIT:10> ) <EOL> print cursor [ <NUM_LIT:0> ] </s>
