Skip to content

Commit 959af68

Browse files
committed
Add null_threshold to Analyzer doc-string
1 parent 756239d commit 959af68

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

structa/analyzer.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ class Analyzer:
128128
falling within this threshold will be discounted by the analysis. Valid
129129
values are between 0 and 1.
130130
131+
:param numbers.Rational null_threshold:
132+
The proportion of values within a field (across repetitive structures)
133+
which can be None (null in JSON parlance) without affecting the type
134+
match. Valid values are between 0 and 1.
135+
131136
:param int field_threshold:
132137
The minimum number of fields in a mapping before it will be treated as
133138
a "table" (a mapping of keys to records) rather than a record (a

0 commit comments

Comments
 (0)