debug¶
Define debugging functions.
Functions
Get counts of dot access paths that did not resolve to |
|
Get unaccessed dot access paths of JSON objects. |
|
Get unexpected resource types from the API. |
- xbrl_filings_api.debug.get_key_path_availability_counts()¶
Get counts of dot access paths that did not resolve to
None
.Get the list of successful retrieval counts for dot access paths in JSON fragments of API responses.
Does not record the unaccessed paths if
JSONTree
of theAPIObject
has been initialized withdo_not_track
valueTrue
.For debugging API changes.
- Returns:
List of ordered retrieve counts for key paths of different API objects.
- Return type:
list of KeyPathRetrieveCounts
- xbrl_filings_api.debug.get_unaccessed_key_paths()¶
Get unaccessed dot access paths of JSON objects.
Get the list of unaccessed dot access paths in JSON fragments of API responses. List values (JSON arrays) are listed as a single path.
Does not record the unaccessed paths if
JSONTree
of theAPIObject
has been initialized withdo_not_track
valueTrue
.For debugging API changes.