Tomas Sheers

Results 10 comments of Tomas Sheers

Any updates on this? I am encountering this problem because I want to do this: ``` from marshmallow_oneofschema import OneOfSchema from marshmallow import Schema, fields class BaseSchema(Schema): type = fields.Str()...

I have been looking for something like this for a while. It seems impossible to find good examples and discussion about structuring and the architecture actual large applications. I am...

I appreciate your reply @lowercase00, I will follow-up a bit because you appear very knowledgeable on the subject. Regarding the validation I will give an example. Considering a payload like:...

@ThirVondukr So would you have service layers raise Exceptions `raise SomeException("Item not found")` and dismiss the more granular error handling on the api, or would you do somehow raise specific...

> First, the frontend should only be loading ids that the user is allowed to see, so when performing the GET /items and GET /tags that is needed to load...

@Merkwurdichliebe Do you have a link to a repo with a minimal working (or failing in this case) example, with the commands you used with pyinstaller to generate the bundle?

I may be off-base because I am looking at this without an example repo. I don't think this problem is PyInstaller related, this is specific to how one goes about...

@Merkwurdichliebe if you use the command: `pyinstaller epidemic.py --onedir --windowed -y --add-data "data/cards.yml:."` and update `epidemic.py#51` to `file = NSBundle.mainBundle().pathForResource_ofType_("cards", "yml")` your code will find the correct path to your...

I'm not yet sure what the proper PyInstaller way is for handling the subsequent issue, but using the changes I mentioned in my previous message, and using the hacky approach...

@Merkwurdichliebe Your Debug-Minimal branch still needs line 51 changing from `file = NSBundle.mainBundle().pathForResource_ofType_("data/cards", "yml")` to `file = NSBundle.mainBundle().pathForResource_ofType_("cards", "yml")`. At which point, when the bundle is created, I get no...