Skip to content
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

typing.Any import not added to client for endpoints returning Any #12

Open
brunnels opened this issue Mar 3, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@brunnels
Copy link

brunnels commented Mar 3, 2022

Here's what gets generated in the client.py for the endpoint:

   def status_status_get(self, **kwargs) -> Any:
       """Status"""
       return self.get(Endpoints.status_status_get)

There's no from typing import Any at the top of client.py

openapi json path

    "/status": {
      "get": {
        "summary": "Status",
        "operationId": "status_status_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
@mom1 mom1 added the bug Something isn't working label Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants