mirror of
https://github.com/pacnpal/Pac-cogs.git
synced 2025-12-20 10:51:05 -05:00
docs: update active context with cleanup_manager import fix
This commit is contained in:
@@ -1,33 +1,32 @@
|
|||||||
# Active Context
|
# Active Context
|
||||||
|
|
||||||
## Current Focus
|
## Current Focus
|
||||||
|
|
||||||
- Fixing import issues in the VideoArchiver cog
|
- Fixing import issues in the VideoArchiver cog
|
||||||
- Maintaining relative imports while ensuring compatibility with Red-DiscordBot loading
|
- Maintaining relative imports while ensuring compatibility with Red-DiscordBot loading
|
||||||
- Implementing consistent import patterns across the codebase
|
- Implementing consistent import patterns across the codebase
|
||||||
|
|
||||||
## Recent Changes
|
## Recent Changes
|
||||||
|
|
||||||
- Added fallback to absolute imports in component_manager.py to handle different loading scenarios
|
- Added fallback to absolute imports in component_manager.py to handle different loading scenarios
|
||||||
- Simplified relative import in core/__init__.py to use correct package structure
|
- Simplified relative import in core/__init__.py to use correct package structure
|
||||||
- Added fallback to absolute imports in queue_processor.py for consistent import handling
|
- Added fallback to absolute imports in queue_processor.py for consistent import handling
|
||||||
- Added fallback to absolute imports in message_handler.py with TYPE_CHECKING support
|
- Added fallback to absolute imports in message_handler.py with TYPE_CHECKING support
|
||||||
- Added fallback to absolute imports in queue_handler.py with package-level imports
|
- Added fallback to absolute imports in queue_handler.py with package-level imports
|
||||||
|
- Added fallback to absolute imports in cleanup_manager.py with TYPE_CHECKING support
|
||||||
- Imports are now more resilient while maintaining relative import patterns
|
- Imports are now more resilient while maintaining relative import patterns
|
||||||
|
|
||||||
## Active Files
|
## Active Files
|
||||||
|
|
||||||
- videoarchiver/core/component_manager.py
|
- videoarchiver/core/component_manager.py
|
||||||
- videoarchiver/core/__init__.py
|
- videoarchiver/core/__init__.py
|
||||||
- videoarchiver/processor/queue_processor.py
|
- videoarchiver/processor/queue_processor.py
|
||||||
- videoarchiver/processor/message_handler.py
|
- videoarchiver/processor/message_handler.py
|
||||||
- videoarchiver/processor/queue_handler.py
|
- videoarchiver/processor/queue_handler.py
|
||||||
|
- videoarchiver/processor/cleanup_manager.py
|
||||||
- videoarchiver/processor/__init__.py
|
- videoarchiver/processor/__init__.py
|
||||||
|
|
||||||
## Next Steps
|
## Next Steps
|
||||||
|
|
||||||
- Monitor package loading behavior
|
- Monitor package loading behavior
|
||||||
- Verify imports work in both development and production environments
|
- Verify imports work in both development and production environments
|
||||||
- Apply similar import pattern updates to other modules if similar issues arise
|
- Apply similar import pattern updates to other modules if similar issues arise
|
||||||
- Continue to maintain consistent import patterns across the codebase
|
- Continue to maintain consistent import patterns across the codebase
|
||||||
- Pay special attention to package-level imports like 'from .. import utils'
|
- Pay special attention to both TYPE_CHECKING imports and package-level imports
|
||||||
|
- Ensure all processor module files follow the same import pattern
|
||||||
|
|||||||
Reference in New Issue
Block a user