fastapi-keycloak icon indicating copy to clipboard operation
fastapi-keycloak copied to clipboard

Response types

Open yannicschroeer opened this issue 2 years ago • 2 comments

What had been missed was corrected. It remains to solve the problem with the types when working with requests.

@GitBib What kind of problem are you referring to? Do you mean that we don't know about the data structure of responses?

Originally posted by @yannicschroeer in https://github.com/code-specialist/fastapi-keycloak/issues/34#issuecomment-1086641778

yannicschroeer avatar Apr 02 '22 13:04 yannicschroeer

Some methods have the Response type, like _admin_request, but where _admin_request is used another method is specified. It says: "Expected type 'KeycloakToken', got 'Response' instead".

GitBib avatar Apr 04 '22 01:04 GitBib

Can you give an example? I couldn't find such an occurrence

yannicschroeer avatar Apr 14 '22 14:04 yannicschroeer