Juan Pablo Garcia

Results 5 comments of Juan Pablo Garcia

Is help still wanted for this issue? I could give it a stab if yall can tell me what you want the solution to be?

I was able to make a demo, it works! ``` def get_all_data(self, skip_worksheet_titles: list[str] = None): """ Grabs all the data from all the worksheets in one API call. Skips...

I'll make a PR! Thanks @lavigne958

> ```python > class GlobalJWTAuth(HttpBearer): > def authenticate(self, request: HttpRequest, token: str) -> Optional[Any]: > user_and_token = JWTAuthentication().authenticate(request) > if user_and_token is not None: > user = user_and_token[0] > request.user...

I have observed the same issue, I think the solution here is to use Pydantic's Enum option as described [here](https://docs.pydantic.dev/2.0/usage/types/enums/) with ModelSchema.