def __query_options(self):
        """Get the query options string to use for this query.
        """
        options = self.__query_flags
        if (self.__slave_okay
            or self.__read_preference != ReadPreference.PRIMARY
        ):
            options |= _QUERY_OPTIONS["slave_okay"]
        return options
dataset/ETHPy150Open blynch/CloudMemeBackend/pymongo/cursor.py/Cursor.__query_options/original