Commit 0053a40
fix: resolve IDE diagnostics in session filtering
## IDE Issues Resolved
### 🔧 Exception Handling Compatibility
- Simplified exception handling to use standard ValueError and Exception
- Removed Polars-specific exceptions for broader IDE compatibility
- Maintains same functionality while eliminating IDE import errors
### 🚀 Code Structure Improvements
- Fixed unreachable code by improving session type handling logic
- Removed unused parameter from method
- Updated method signatures and call sites consistently
### 📝 Import Organization
- Fixed import sorting and formatting issues
- Reorganized imports according to style guidelines
- Moved comments to appropriate locations
## Technical Details
### Exception Strategy
- Uses catch pattern for broad compatibility
- Maintains specific error messages for debugging
- Works consistently across different Polars versions
### Method Signature Updates
- - removed unused
- Cleaner interface focused on actual parameter usage
- Maintains backward compatibility for all public methods
## IDE Validation Results
- ✅ **Import errors resolved** - No more unknown symbol warnings
- ✅ **Unused parameter warnings fixed** - Clean method signatures
- ✅ **Import formatting compliance** - Proper sorting and organization
- 1 parent b17ee41 commit 0053a40
1 file changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
85 | | - | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
104 | | - | |
105 | | - | |
| 105 | + | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | | - | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
115 | | - | |
| 116 | + | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| |||
154 | 156 | | |
155 | 157 | | |
156 | 158 | | |
157 | | - | |
158 | | - | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
0 commit comments