def first(self):
        if len(self) > 0:
            return self[0]
Set the mode of a file
dataset/ETHPy150Open MongoEngine/mongoengine/mongoengine/base/datastructures.py/EmbeddedDocumentList.first--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/file.py/set_mode