Skip to content

Commit f18fc43

Browse files
author
Mike Storey
committed
refactor: move types folder to root level of input structure
- Move types folder from dictionary/types to types/ at same level as dictionary/ - Update SchemaManager._load_types() to look for types in INPUT_FOLDER/types instead of INPUT_FOLDER/dictionary/types - Update all test cases to reflect new structure - All unit tests pass (114/114) with 93% coverage - Improves input structure organization and consistency
1 parent 0c90d04 commit f18fc43

40 files changed

+1
-1
lines changed

stage0_mongodb_api/managers/schema_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def _load_types(self) -> List[Dict]:
5454
List of load errors
5555
"""
5656
errors = []
57-
types_dir = os.path.join(self.config.INPUT_FOLDER, "dictionary", "types")
57+
types_dir = os.path.join(self.config.INPUT_FOLDER, "types")
5858
if not os.path.exists(types_dir):
5959
errors.append({
6060
"error": "directory_not_found",
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)