dynamodb-json icon indicating copy to clipboard operation
dynamodb-json copied to clipboard

Deprecation warning due to invalid escape sequences

Open tirkarthi opened this issue 4 years ago • 1 comments

Deprecation warning due to invalid escape sequences. Using raw strings or escaping them again helps in resolving this. Check https://github.com/asottile/pyupgrade/ for automatic fix of this.

find . -iname '*.py' | grep -Ev 'rdf4|tool|doc' | xargs -P4 -I{} python3.8 -Wall -m py_compile {}
./dynamodb_json/json_util.py:63: DeprecationWarning: invalid escape sequence \d
  if re.match("^-?\d+?\.\d+?$", dct['N']) is not None:

tirkarthi avatar Apr 27 '20 13:04 tirkarthi

Hi @tirkarthi . Thank you.

Will be fixed soon.

Alonreznik avatar May 04 '20 11:05 Alonreznik

Hi. Any update on this? Still getting this warning. Thanks!

einstein-aws avatar Apr 11 '24 16:04 einstein-aws

Fixed in https://github.com/Alonreznik/dynamodb-json/pull/25

Alonreznik avatar May 18 '24 18:05 Alonreznik

Thanks!

einstein-aws avatar May 18 '24 18:05 einstein-aws