emehrkay / Pypher

Python Cypher Querybuilder
MIT License
170 stars 29 forks source link

Property attributes are enclosed in single underscores instead of dou… #48

Open CisterMoke opened 3 years ago

CisterMoke commented 3 years ago

Changed the __getattr__ definition in Pypher to fix issue https://github.com/emehrkay/Pypher/issues/47. Properties are now recognized as attributes enclosed by single underscores instead of double underscored to avoid any interference with the Python subroutines

emehrkay commented 3 years ago

This is a great catch. Thank you for doing the work and the PR. It changes the API, so it may warrant a major version bump. I will do the work of repackaging things and adding better documentation so that upgrading is as easy as possible