| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Thanks! Just bumped into this PR after implementing this by myself.
I could help with the tests if you don't mind to increase the chances of this being merged. What do you think?
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
When trying to use the internalization module with SQLAlchemy and the mapped_column style, you run into the following error:
AttributeError: 'MappedColumn' object has no attribute 'key'.
This adds a workout around by accessing the key though attr.column.key if the attribute is a MappedColumn. Not sure if the implementation is the best approach in terms of providing compatibility with 1.X, so any input would be great!