Replies: 1 comment
-
|
This should be fixed in the next version of the extension, which I will release shortly! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It seems like CodeLens expects the url in the client calls to be positional arguments and ignore them if they are named, would it be possible to support both positional arguments and named
In my test file i have defined a test like this:
i do not get the link above the client.get(url="/v1/files/test")
however, if i remove the named parameter url and just provide the url directly like this:
The link does appear.
this issue seems to be related to this code block in src/vscode/testCodeLensProvider.ts
while i see in the documentation here:
https://fastapi.tiangolo.com/tutorial/testing/#extended-fastapi-app-file
that positional arguments is used and not named i think it would be beneficial if the extension could support both somehow.
Beta Was this translation helpful? Give feedback.
All reactions