Lauren Campbell
Lauren Campbell
To solve this issue I created a separate type and imported it in both places I want to use it: ```python import graphene from my_project.models.core import MyEnum my_enum = graphene.Enum.from_enum(MyEnum)...
Have run into this issue as well for our configuration. Just enabled `use_squash_merge` in the repo's `bors.toml`, but it's now closing all the merged PRs instead of merging them as...
I ended up being able to accomplish the original goal of two blueprints with only one namespace the following way: In `my_project.routes.ui` ``` api = Namespace('ui', description='User Interface API') ```...
@james-powis I would suggest opening up your PR in https://github.com/python-restx/flask-restx instead, which is where all the updates for this code base have moved to.
Not at all! Thanks for making this change to make it clearer for everyone.
Thank you for the reply - good to know this is on the radar.
Thanks for this thread. I am using CircleCI on an older project, python 3.8.6 image with default installed pipenv 2020.11.05. Not an option right now to update the python version,...
I've run into this as well with dataclassy 1.0.1 and python 3.10, making use of `__init_subclass__` ([link to 3.10 docs for this method](https://docs.python.org/3.10/reference/datamodel.html#object.__init_subclass__)), which can be reproduced by tweaking the...
Gotcha - yes I would say not worth rewriting all that for this library. Your suggestion of `object.__init_subclass__` does work as well, so either that or the `DummyBase` is fine...
Right - to use `values` I think I would have to build a custom recursing function to reproduce `as_dict` though, as the dataclasses I am working with are large nested...