Lelzin λ
Lelzin λ
@marcosnils In fact the error 500 Internal Server Error only occurs to me when I generate the OAuth URL manually and open it in a tab: ```bash curl -sD -...
@giovixo97 Regarding the 401 error, could you tell me if docker labs has any cookies created in your browser? Devtools > Application > Storage > Cookies > `https://labs.play-with-docker.com` If there...
Sorry for my lack of attention, you're right, I used the cookie you sent and it really isn't recognized as authenticated, I'm really running out of ideas what could be...
I agree with you regarding the 500 error, as it must have certainly raised an exception in the server logs, something that only they can resolve, but regarding the 401...
If the device is not the problem, then it is some particularity of your specific Docker account, because see, I created an account and recorded the procedure trying to replicate:...
I discovered that unlike `pydantic.Field`, `odmantic.Field` accepts non-literals in the `default` parameter, so `default_factory` becomes useless. But I'll leave the issue open in case anyone wants to work on it,...
I assume here is the problem: https://github.com/art049/odmantic/blob/master/odmantic/model.py#L216 ```python odm_fields: Dict[str, ODMBaseField] = {} ``` My guess is that every time an inheritance is made, this line always resets the fields:...
Come to think of it, `exclude_if` is actually a better name for the parameter. If this idea goes ahead, I will be saving an absurd amount of space in the...
I made some changes to the issue description example, aiming to solve most of the problems. > **Args:** > - `instance`: Model instance, gives the user the power to know...
Maybe this will eliminate all current parameters, see a more complete example: **Recreating `exclude_none` functionality** ```python def exclude_none(_, __, value: Any) -> bool: return value is None ``` **Recreating `exclude_unset`...