Zach
Zach
Seems to me like this is the responsibility of the request handler. If you want global permissions add them to the graphene middleware: http://docs.graphene-python.org/en/latest/execution/middleware/ `result = schema.execute('THE QUERY', middleware=[AuthorizationMiddleware()])` For...
I'd say this is a wanted feature and a needed feature. It may be a little difficult to implement efficiently though. And I think that is why `hybrid_properties` exist. Perhaps...
I messed around a bit with this. You can currently do this by making your property a `hybrid_property` and making a `resolve_PROPERTY` method on the `SQLAlchemyObjectType` class. For example: ```python...
Posted the above for people who want to use properties in the interim. > Feels a bit like misusing the feature and extension for a different purpose, using the hybrid...
Yes, I agree. at the minimum there should be a way to do it without updating your models. I have worked on a project with hundreds of models containing many...
>if include_properties is given as a sequence, then the types are derived from type hints, and if no properties are set, only the hybrid properties are used 👍 I think...
@andymccurdy Here is a working version with tests. I can expand the testing to all commands if you like the direction. https://github.com/Kazanz/redis-py/commit/8994f2633e60294573cdbeac452802ed1002d24a
@andymccurdy I see. If no one else is addressing the issue, I would be happy to. Let me know.
@andymccurdy Here is a working version that allows namespacing on every command along with tests for every command. Works in py2 & py3. Followed proposed syntax of @mjrusso. [Pull request...
@andymccurdy Finally have some more time to refactor based on your comments. Will post periodically for feedback.