def write_video(self, embed=None, caption=None, **args): 
        if embed:
            args['embed'] = embed
            args['caption'] = caption
        args = self._fixnames(args)
        if args in 'embed' and 'data' in args:
            raise TumblrError("Must  NOT supply both embed and data arguments")

        if not 'embed' in args and not 'data' in args:
            raise TumblrError("Must supply embed or data argument")

        self.auth_check()
        args['type'] = 'video'
        return self._write(args)
dataset/ETHPy150Open ialex/opentumblr-qt/opentumblrqt/tumblr.py/Api.write_video/swapped operands of `in`