View Single Post
Old 01-07-2025, 05:57 AM   #5
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,475
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by mactastik View Post
Similarly, set_field asks for a "mapping of book id's to values". What is that? And what is the "name" of the field if it's a user-defined field?
The "mapping" is documented in the set_field comments.
Code:
:param book_id_to_val_map: Mapping of book_ids to values that should be applied.
It is a python dict (map) from book id to value. Books with an id in the dict will have the field value changed to that id's value in the dict.

The name of the field is the lookup name, #something for custom columns.
chaley is offline   Reply With Quote