bp / bp/resqpy

Add optional schema validation for methods that load in XML files

Open
#381 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
67
Forks
18
Avg merge
2h 26m
Merged PRs (30d)
1

Description

Functionality should be added to validate XML schemas when they are loaded in. This code should be run by the 'load' methods, which will have an optional parameter added to them called 'validate_schema' which will have a default value of false. This code should also be fully unit tested before being used.

Contributor guide

Open the contributing guide

Research direction

Start by locating the XML load methods and the existing unit-test suite; the issue does not name specific files or entry points. Confirm how schemas are currently represented or loaded, then add optional validate_schema behavior with a false default and tests covering validation and the default path.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.