profile
viewpoint

issue openedflasgger/flasgger

Swagger UI Does Not Allow Entry of a nullable integer

I have a patch function with an OpenAPI query parameter defined as nullable

-   in: query
    name: someId
    schema:
         type: integer
         nullable: true

I am able to call this via curl curl -X PATCH "http://0.0.0.0:5000/apiPath?someId=null" andsomeIdwill appear as a string'null'and if I try to use the Swagger UI to passnull` it refuses to do so, showing a red background as though the value is not allowed. image

Shouldn't null values be represented as None when contained in the flask.request.args MultiDict?

created time in 3 months

issue commentmicrosoft/vscode-python

Pytest discovery breaks when code to test prints to stdout during discovery

Extension ms-python.python-2020.5.80290 now fails to discover tests again.

karthiknadig

comment created time in 3 months

issue closedkondratyev-nv/vscode-python-test-adapter

Run py File in Debug Mode

I need to debug a test, but that test depends on the other tests being run, but I cannot start testing the whole py file in debug mode as there is not debug button, as you can see in this image

image

closed time in 3 months

Anti-Distinctlyminty

issue commentkondratyev-nv/vscode-python-test-adapter

Run py File in Debug Mode

Ah, there was a 'reload required' waiting for me which had passed me by. Apologies for that. However, when debugging I'm not hitting any break points, by clicking on the debug icon on the py file or the debug icon for the function.

Using pytest and Python 3.6.9 64-bit (I'm simultaneously running a debug flask server if that matters)

Anti-Distinctlyminty

comment created time in 3 months

issue openedkondratyev-nv/vscode-python-test-adapter

Run py File in Debug Mode

I need to debug a test, but that test depends on the other tests being run, but I cannot start testing the whole py file in debug mode as there is not debug button, as you can see in this image

image

created time in 3 months

issue commentmicrosoft/vscode-python

Pytest discovery breaks when code to test prints to stdout during discovery

I'm guessing this has been addressed. Same command run with 2020.5.78807 has the JSON output without the [Redshift] ... output and discovery completes without any issues.

karthiknadig

comment created time in 3 months

more