Skip to content

Commit

Permalink
update docstring to indicate that Schema.infer only support basic inf…
Browse files Browse the repository at this point in the history
…erence
  • Loading branch information
dtao committed Dec 1, 2017
1 parent 786186f commit b710aa0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions voluptuous/schema_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ def infer(cls, data, **kwargs):
},
'baz': [str]
}
Note: only very basic inference is supported.
"""
def value_to_schema_type(value):
if isinstance(value, dict):
Expand Down

0 comments on commit b710aa0

Please sign in to comment.