-
Hi i have a reflected model
but when i run it i am getting |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 44 replies
-
simply using it like this
|
Beta Was this translation helpful? Give feedback.
-
yes from inspectdb |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@keinagae In theory, the new release of Edgy done today (0.11.0) should cover what we talked here. Give it a try and let me know, please. EDIT: The multiple primary keys is not yet available in this release, it will come in later on. |
Beta Was this translation helpful? Give feedback.
-
@keinagae found the problem. So the multi tenancy in fact exists and works like a charm. When reflecting the models for multi tenancy that is where the errors occur but from a SQLA side. I'm working on this and a fix should be out soon, hopefully. I added an extra functionality to allow the easy creation of tenancy schemas programmatically and those tests prove that tenancy actually works as intentionally should. More to come soon. Thank you for this report. |
Beta Was this translation helpful? Give feedback.
-
@keinagae We did a new release where we refactored the internal of the reflection and according to the tests it should be ok and that greenlet error should disappear. Although the InspectDB will continue to evolve internally as mentioned before as we are making Edgy even better and faster in the upcoming releases For now we also added a new function that you might find useful, the https://edgy.tarsild.io/release-notes/ Give it a try and let me know, please. I was able to replicate your error and change the implementation. |
Beta Was this translation helpful? Give feedback.
-
Also is there a technical doc for databasez package that you wrote because i need to use cockeoachdb and will try to write a provider for it there |
Beta Was this translation helpful? Give feedback.
@keinagae In theory, the new release of Edgy done today (0.11.0) should cover what we talked here. Give it a try and let me know, please.
EDIT: The multiple primary keys is not yet available in this release, it will come in later on.