Commit d0470a3
committed
Use session and remove inline imports in remote_config
Per AI code review feedback:
- Use _session.post() instead of requests.post() to maintain retry logic
- Remove inline imports (datetime, dateutil.tz already imported at top)
- Ensures consistency with other request functions in the module
Addresses code review feedback about maintaining session consistency.1 parent 9906284 commit d0470a3
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | 142 | | |
147 | 143 | | |
148 | 144 | | |
| |||
158 | 154 | | |
159 | 155 | | |
160 | 156 | | |
161 | | - | |
| 157 | + | |
162 | 158 | | |
163 | 159 | | |
164 | 160 | | |
| |||
0 commit comments