Creating primary index on collection using python

The create index python code actually look like this … back quote has been automatically transformed in the message post.