def GetFirstMember(sid):
    s = idaapi.get_struc(sid)
    if not s:
        return -1

    return idaapi.get_struc_first_offset(s)
Get a file from GridFS by ``"filename"`` or metadata fields.
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/GetFirstMember--crossover with--dataset/ETHPy150Open mongodb/mongo-python-driver/gridfs/__init__.py/GridFS.get_version