This is an automated email from the ASF dual-hosted git repository.

mtaha pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/age.git


The following commit(s) were added to refs/heads/master by this push:
     new 1bb95bf6 Convert string to raw string to remove invalid escape 
sequence warning (#2267)
1bb95bf6 is described below

commit 1bb95bf616abe733dd6d5c02aa32c7f419827646
Author: jsell-rh <[email protected]>
AuthorDate: Thu Dec 11 10:56:37 2025 -0500

    Convert string to raw string to remove invalid escape sequence warning 
(#2267)
    
    - Changed '\s' to r'\s'
---
 drivers/python/age/age.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/python/age/age.py b/drivers/python/age/age.py
index 817cc6e5..b1aa8215 100644
--- a/drivers/python/age/age.py
+++ b/drivers/python/age/age.py
@@ -26,7 +26,7 @@ from .builder import parseAgeValue
 _EXCEPTION_NoConnection = NoConnection()
 _EXCEPTION_GraphNotSet = GraphNotSet()
 
-WHITESPACE = re.compile('\s')
+WHITESPACE = re.compile(r'\s')
 
 
 class AgeDumper(psycopg.adapt.Dumper):
@@ -233,3 +233,4 @@ class Age:
 
     # def queryCypher(self, cypherStmt:str, columns:list=None , 
params:tuple=None) -> psycopg.cursor :
     #     return queryCypher(self.connection, self.graphName, cypherStmt, 
columns, params)
+

Reply via email to