from pymongo import MongoClient

client = MongoClient('localhost:27017')
myDb = client['test']
db = myDb.workers

def read():
  try:
    colData = db.find()
    print('\n all data from workers database \n')
    for col in colData:
      print(col)

  except ImportError:
    platform_specific_module = None
    # print str(e)
2bbbb2b9c9be2bcf4e8f9e901f931303a7bac1fa
<mask token>

<mask token>


def read():
    try:
        colData = db.find()
        print('\n all data from workers database \n')
        for col in colData:
            print(col)
    except ImportError:
        platform_specific_module = None

<mask token>
client = MongoClient('localhost:27017')
myDb = client['test']
db = myDb.workers


def read():
    try:
        colData = db.find()
        print('\n all data from workers database \n')
        for col in colData:
            print(col)
    except ImportError:
        platform_specific_module = None

from pymongo import MongoClient
client = MongoClient('localhost:27017')
myDb = client['test']
db = myDb.workers


def read():
    try:
        colData = db.find()
        print('\n all data from workers database \n')
        for col in colData:
            print(col)
    except ImportError:
        platform_specific_module = None

from pymongo import MongoClient

client = MongoClient('localhost:27017')
myDb = client['test']
db = myDb.workers

def read():
  try:
    colData = db.find()
    print('\n all data from workers database \n')
    for col in colData:
      print(col)

  except ImportError:
    platform_specific_module = None
    # print str(e)