Alexander Schepanovski

Results 219 comments of Alexander Schepanovski

`group_by()` already transforms various non-callables including string to functions, i.e. string is transformed as regex match, see https://funcy.readthedocs.io/en/stable/extended_fns.html While I support examples in docs the ones here feel too verbose...

There should be a better solution. This breaks for non int, non text arrays. Also, what's your use case? Why can't you type cast in SQL?

You can do the same you do now only in your own code. Your code very specific anyway: - only text and integers are supported, - why text and bigint...

Possible solution is to use `sql.Array()` wrapper and specify type there: ```python sql.update('category', {tags: sql.Array(tags, 'text')}).where(...) ```

@jonathanong it shouldn't return Promise in the first place, it should return stream.

Looks like this is Pool.query() fault, it doesn't care about handling submittable.

As far as I know no tool currently makes global usage analysis. And besides this is only base, the main feature will be rule DSL via code pattern matching.

@Davidy22 drop down is about command not about regex, which is a textarea lower and not editable.

funcy already has [LazyObject](https://funcy.readthedocs.io/en/stable/objects.html#LazyObject) doesn't it work for you? If not can you please explain the specifics?

And how you want it to look? The same way it's in your code then that could be achieved with something like: ```python def make_proxy(): obj = None @LazyObject def...