rows icon indicating copy to clipboard operation
rows copied to clipboard

Deprecation warning when export schema as csv with rows schema

Open rhenanbartels opened this issue 6 years ago • 1 comments

rows schema --samples 20000 data/output/prestacaoconta-receitas.csv --format csv 
schemas/prestacao_contas_receitas.csv 

/home/rhenanbartels/virtualenvs/eleicoes-brasil/lib/python3.7/site-packages/requests_cache/backends/storage/dbdict.py:9: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
/home/rhenanbartels/virtualenvs/eleicoes-brasil/lib/python3.7/site-packages/rows/utils.py:766: DeprecationWarning: invalid escape sequence \c
  "\copy {table_name} {header}{direction} STDIN "

  from collections import MutableMapping

rhenanbartels avatar Mar 22 '19 21:03 rhenanbartels

I think this collections.abc related warning is fixed with https://github.com/turicas/rows/commit/289aeeb5f7fb724bbcae45fa34df552d85215dd2 and https://github.com/turicas/rows/commit/f0e1530c29bb26938a5f117cb3ac5705ce4b9229

tirkarthi avatar Jan 04 '20 18:01 tirkarthi