SurfSense/surfsense_backend/app
Claude 662cdf6692
Consolidate connector metadata into NamedTuple and use helper functions
- Create ConnectorMetadata NamedTuple to consolidate emoji, result_name, and friendly_name
- Replace three separate dictionaries with single CONNECTOR_METADATA dict
- Update helper functions to use consolidated structure
- Replace direct dict access in nodes.py with helper functions
- Remove unused CONNECTOR_EMOJIS and CONNECTOR_RESULT_NAMES imports
- Add default metadata for unknown connectors

Addresses PR #16 review feedback for unused imports and data consolidation
2025-11-18 23:25:37 +00:00
..
agents Consolidate connector metadata into NamedTuple and use helper functions 2025-11-18 23:25:37 +00:00
config Add thread-safety to lazy initialization with double-checked locking 2025-11-18 23:22:06 +00:00
connectors chore: linting 2025-11-03 16:00:58 -08:00
prompts Fixed all ruff lint and formatting errors 2025-07-24 14:43:48 -07:00
retriver recurse fix 2025-08-20 10:21:59 -07:00
routes Improve code quality per PR #11 and #12 review feedback 2025-11-18 22:46:17 +00:00
schemas Add disable_registration toggle to site configuration 2025-11-18 14:28:16 +02:00
services Update streaming service and database connection handling 2025-11-17 20:34:56 +02:00
tasks Update streaming service and database connection handling 2025-11-17 20:34:56 +02:00
utils feat: Implement local-first European AI architecture with Mistral NeMo and TildeOpen 2025-11-17 19:58:20 +02:00
__init__.py feat: SurfSense v0.0.6 init 2025-03-14 18:53:14 -07:00
app.py Refactor auth token usage to use AUTH_TOKEN_KEY constant 2025-11-18 22:03:56 +00:00
celery_app.py Optimize RAM usage with lazy loading and memory limits 2025-11-18 23:13:29 +00:00
db.py Add disable_registration toggle to site configuration 2025-11-18 14:28:16 +02:00
users.py Update streaming service and database connection handling 2025-11-17 20:34:56 +02:00