Skip to content

Commit

Permalink
Update fastkml/validate.py
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
cleder and coderabbitai[bot] authored Oct 31, 2024
1 parent 9d19845 commit f2b43f8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fastkml/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ def validate(
file_to_validate: The file to validate.
Returns:
True if the file or element is valid, False otherwise.
Returns:
True if the file or element is valid.
Raises an AssertionError if validation fails.
Returns None if the schema parser is unavailable.
"""
if element is None and file_to_validate is None:
Expand Down

0 comments on commit f2b43f8

Please sign in to comment.