You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, the intention was to allow the user the ability to change manually the file retrieved from insee.fr. This list is updated manually on insee side, so it is not unlikely that the file changes name. These lines should then be considered as a backup before a permanent fix is released in a new version of the package. The code first try to use the file the user intentionally sets and then uses dates to create potential correct urls. The quality of this snippet of code could of course be better. Shall I provide you with more details?
OK, so the missing part is the session argument to _dwn_idbank_file. I'll fix that in the PR fixing the github actions timeouts (makes sense as this is already messing with the requests sessions).
There is something strange going on on those lines.
data
is never used (asfiles
is never empty) ;file_to_dwn
set as constant here is not available as of today_dwn_idbank_file
needs asession
argument, so this is always trigerring the exception.@hadrilec can you detail what the expected behaviour should be ?
I'm not really sure it this sample should be dropped altogether or if there is a reason still to keep it...
The text was updated successfully, but these errors were encountered: