fastapi-keycloak
fastapi-keycloak copied to clipboard
Response types
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
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".
Can you give an example? I couldn't find such an occurrence