-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extraneous local_kw
added to mandatory arguments in swagger
#20
Comments
Hi could you share some infomation to let me reproduce your issue? such as the SQLalchemy schema, and the code |
Hi Luis, I've been using the
Initially I thought it was due to an environment clash, as I was using Conda with pip dependencies, however the issue seems to persist when the versions are pinned to those in the Readme, and even with only I've tried recreating your "Simple Code" example in another file, and even with only
|
many thanks Antony, I still no idea about the local_kw , btw could you run that normally without set the session like the following example, which is using in-memory db |
Hi Luis, Running the example at |
Looking back to postures integration, it seems that the
e.g. from:
to :
for reference, the async session is:
|
Thanks Antony! I have reproduced it based on your information. And It is due to my documentation is not clear enough. I saw you has used the async_session to be db_session argument. The correct way is like the following
|
I am facing almost the same issue, I am also seeing local_kw in one of my api endpoint, any specific solution ? |
The changes Luis suggested in #20 (comment) worked fine for me. And I've been using the libraries without issues |
Hi Avin, sorry for reply so late, so happy to see you are using it fine. I will suggest u to try my another crud code generator project. Which one is optimised on query and able to maintain by yourself. I have used it in few project already and working so far so good. |
Hi all, I've noticed that this seems to appear in the swagger documentation, I've not specified it
I've tried posting using thunder client, and without a 'local_kw" a 422 error is returned, however if it's specified we get
Session.__init__() got an unexpected keyword argument 'local_kw'
The text was updated successfully, but these errors were encountered: