Sergey Vasilyev
Sergey Vasilyev
@elemental-lf That field is fuzzy at the moment. I had few ideas drafted in https://gist.github.com/nolar/8c6233778a30a32fafd7f8d3a55a2cb4#file-example-relations-py-L274-L276 on how the cross-resource interactions can be _expressed_ via decorators: e.g. by implicitly remembering from...
@cliffburdick Are you talking about CRDs or CRs? If it is about CRs (i.e. objects), then it is already doable now when the parent's handler puts the labels on the...
@elemental-lf It is not yet defined. These cross-resource relations & handlers are quite a big topic, so I didn't even start looking into it deeper than that draft. As far...
@jkupferer You can use `@kopf.on.event()` handlers: https://kopf.readthedocs.io/en/latest/handlers/#event-handlers — these are the "silent spy-handlers" by design, and do not store anything on the objects, just react. --- As an advanced move,...
The slow termination is addressed in #239, #142 & co. But auto-reloading would be a nice feature for the development mode, perhaps. Same as Django and similar web frameworks do...
I little addition to @IvanAnishchuk 's solution, atomic compilation is still needed. Here is why: ``` # requirements.in requests ``` ``` # requirements-dev.in -c requirements.txt moto ``` When we compile...
@AndydeCleyre That will be some kind of a circular dependency which is hard to compile. Effectively, `requirements.in` will be forever-pinned to the dev-versions. I'm not sure if the dev-txt-file will...
A note on the workaround above: the `set_context()` coroutine will run in its own context, and its contextvar will not get into the surrounding/sibling coroutines. The example above fails with:...
Hi. Sorry for the delay. It is great that you have found a solution! > Is this a known limitation that generating events for Cluster scoped resources does not work?...
PS: Using `select()` gives the same results: ```python from clickhouse_sqlalchemy import select q = select(MyTable.fld).limit_by([MyTable.fld], 1) print(str(q)) # SELECT mytable.fld FROM mytable ```