-
Notifications
You must be signed in to change notification settings - Fork 147
Labels
bugSomething isn't workingSomething isn't workinghacktoberfesthelp wantedExtra attention is neededExtra attention is needed
Description
🧩 Problem
In memori/utils/validators.py
, the namespace validator does not set a default value when the input is None, which can result in errors downstream.
📋 Steps to Fix
- Update
validate_namespace
to set a default value (e.g., "default") if the input is None or empty. - Add test cases for None/empty values.
✅ Acceptance Criteria
- Namespace validator provides a safe default when input is None/empty.
- All uses of namespace in the codebase work without error.
- Documentation and tests updated.
Labels: hacktoberfest, bug, help wanted
Refer to memori/utils/validators.py
🤝 Hacktoberfest Details
- This issue is part of Hacktoberfest 2025 — valid pull requests will be merged or labeled hacktoberfest-accepted.
- Please review the CONTRIBUTING.md for contribution guidelines.
- Follow our Code of Conduct to maintain a positive and inclusive environment.
⭐ Don’t forget to star the repo on GitHub. It really helps our community grow
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghacktoberfesthelp wantedExtra attention is neededExtra attention is needed