platipo
platipo
Thanks for your quick reply! Upon further reflection the problem is not between `Document` and with discriminated unions, for example this works: ```python class EmbeddedProduct(Document): subfield: Union[CarProduct, BoatProduct] = Field(...,...
> About the Polymorphic Pattern. Will this fit your case? https://github.com/roman-right/beanie/blob/feature/views/docs/tutorial/multi-model.md > > This will be merged by tomorrow. Here is the PR: #253 Very cool feature. I will try...
For the moment I came up with this to overcome my problem: ```python from typing import Any, Literal, Union from beanie import Document from pydantic import BaseModel, Field class CarProduct(BaseModel):...
I have the same problem, this happens also using `alias_generator` inside the `Model.Config`. It is quite upsetting because alias is called on a plain object but not inside a nested.
> Well DDG doesn't provide an (official) API to get their search results so lmddgtfy is the only "proper" way of showing someone DDG results. Actually a simple DDG API...
Hi Ravi, unfortunately I think this repository is not actively maintained anymore as the last commit dates to 2018 and there are many open PRs ready to be merged. If...
Hi @aaron-suarez, I added the dotenv orb an it seems working. Do you have any feedback? Maybe using a variable for the group id is an overkill, what do you...
I wasn't sure if all was correct so I chose to set the environment default values to a different number if it had raised an error I would have confirmed...
I can just set them all to 5000 if you want. Also do you want me to keep also the `gid`?
I'm ok with all the changes, do you prefer that Dockerfile default variables are 5000?