def jsonrpc_publish(self, p):
        """
        Make a new name claim

        Args:
            'name': name to be claimed, string
            'file_path': path to file to be associated with name, string
            'bid': amount of credits to commit in this claim, float
            optional 'author': author, string
            optional 'title': title, description
            optional 'description': content description, string
            optional 'thumbnail': thumbnail image url
            optional 'key_fee': key fee to be paid to publisher, float (default 0.0)
            optional 'key_fee_address': address for key fee to be sent to, string (defaults on new address)
            optional 'content_license': content license string
            optional 'sources': alternative sources dict, keys 'lbry_sd_hash', 'btih', 'url'
        Returns:
            Confirmation message
        """

        metadata_fields = ["name", "file_path", "bid", "author", "title",
                           "description", "thumbnail", "key_fee", "key_fee_address",
                           "content_license", "sources"]

        for k in metadata_fields:
            if p.keys() not in k:
                p[k] = None

        pub = Publisher(self.session, self.lbry_file_manager, self.session.wallet)

        d = pub.start(p['name'],
                      p['file_path'],
                      p['bid'],
                      title=p['title'],
                      description=p['description'],
                      thumbnail=p['thumbnail'],
                      key_fee=p['key_fee'],
                      key_fee_address=p['key_fee_address'],
                      content_license=p['content_license'],
                      author=p['author'],
                      sources=p['sources'])

        d.addCallbacks(lambda msg: self._render_response(msg, OK_CODE),
                       lambda err: self._render_response(err.getTraceback(), BAD_REQUEST))

        return d
dataset/ETHPy150Open lbryio/lbry/lbrynet/lbrynet_daemon/LBRYDaemon.py/LBRYDaemon.jsonrpc_publish/swapped operands of `not in`