Tom Cobb

Results 14 comments of Tom Cobb

It would appear that someone has committed something that looks like this to the old google code version of this... https://code.google.com/p/folders2flickr/source/detail?r=14

@per2jensen the snap has something that runs the nextcloud cron.php at various intervals: https://github.com/nextcloud/nextcloud-snap/blob/master/src/nextcloud/bin/nextcloud-cron

Personally I would prefer to keep the interface as is, but push the caching down to the device level. The implementation I'm thinking about at the moment for `ophyd.v2` is...

>Python type system doesn't let me describe some important aspects of GraphQL type system: > * Description (For fields, arguments, and ObjectTypes) > * Directives (@deprecated, etc) I discovered this...

@DrPyser this looks very interesting. I assume you would add the description and the deprecated items to a Schema() object? Do Schema() objects and dataclasses work together?

Looks like someone already thought of combining Pydantic and Graphene... https://github.com/upsidetravel/graphene-pydantic

@wyfo thanks for the interesting link. Is there any way to use apischema to validate function arguments like https://pydantic-docs.helpmanual.io/usage/validation_decorator/ ? Also, I see that you support Unions for GraphQL output...

@wyfo thanks, I've moved the discussion to https://github.com/wyfo/apischema/discussions/56

One thing that I found when writing Malcolm is that the separation of interface (and HDF plugin has N Pvs of these type with these names) and logic (when I...

ok, I'll continue exploring that separation while I try out some flyscanning ideas, hopefully I'll report back with a toy implementation in the next couple of weeks