Skip to content

Commit

Permalink
Increase MAX_PEEK_CONTENT to 1000 in DocumentValidator
Browse files Browse the repository at this point in the history
As some documents may contain extra definitions before the root tag.
  • Loading branch information
davelopez committed Nov 4, 2024
1 parent 98b4d21 commit a13ab13
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/galaxyls/services/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@

from galaxyls.services.xml.types import DocumentType

MAX_PEEK_CONTENT = 100
TAG_GROUP_NAME = "tag"
TAG_REGEX = rf"[\n\s]*?.*?[\n\s]*?<(?!\?)(?P<{TAG_GROUP_NAME}>[\w]*)"
MAX_PEEK_CONTENT = 1000


class DocumentValidator:
Expand Down

0 comments on commit a13ab13

Please sign in to comment.