def _get_obj_type(self, doc, profile):
        obj_type = "O"
        if profile == DataStore.DS_PROFILE.RESOURCES:
            if doc.get("type_", None) == "Association":
                obj_type = "A"
            elif doc.get("type_", None) == "DirEntry":
                obj_type = "D"
            elif doc.get("type_", None):
                obj_type = "R"
        elif profile == DataStore.DS_PROFILE.DIRECTORY:
            if doc.get("type_", None) == "DirEntry":
                obj_type = "D"
        elif profile == DataStore.DS_PROFILE.EVENTS:
            if doc.get("origin", None):
                obj_type = "E"
        return obj_type
Kills a process by exact name with 'pkill'.
dataset/ETHPy150Open ooici/pyon/pyon/datastore/postgresql/base_store.py/PostgresDataStore._get_obj_type--crossover with--dataset/ETHPy150Open google/simian/src/simian/mac/client/flight_common.py/Pkill