get_extract_by_id()
always returns default values for camelCase extract fields
#99
Labels
bug
Something isn't working
The
MicrodataExtract()
class expects arguments in snake case. However, becauseget_extract_info()
returns the extract definition using the API's camel case conventions, the following lines inget_extract_by_id()
end up passing all camel case arguments to**kwargs
instead of the appropriate snake case arguments inMicrodataExtract()
.For instance, an extract with a non-default
data_structure
will be reverted to a rectangular-on-P data structure because its value afterget_extract_info()
is stored in thedataStructure
field of the response. Here's a reproducible example:The text was updated successfully, but these errors were encountered: