Antoine Bertin

Results 102 comments of Antoine Bertin

I can give it a shot. I assume you want immutability also on that part so I guess segments will be a tuple and a cached property. Any recommendation before...

OK I didn't know there was a `parts` attribute. However RFC segments seems to not include the `/` as a valid segment. I didn't even look for that name TBH....

If we go the single object route I would suggest the `path_segments` name to make it more explicit. It's also the name in the RFC (not that it matters that...

I had to do those as well ```sh kubectl patch apiserver default --type=merge -p '{"metadata": {"annotations": {"meta.helm.sh/release-name": "tigera-operator"}}}' kubectl patch apiserver default --type=merge -p '{"metadata": {"annotations": {"meta.helm.sh/release-namespace": "tigera-operator"}}}' kubectl patch...

+1 for that. I can reproduce on 249. No fallback happening there, or I did not configure it correctly. Fallback to the password keyslot should happen after a timeout when...

I thought something like this: ``` python @click.command() @click.option_group('Output options:', ['verbose', 'output'], indent=2) @click.option('--verbose') @click.option('--output') def cli(verbose, output): pass ``` Thanks for the pointers, I'll look into it. This is...

Or maybe that would be more efficient for nesting groups. And it looks nice as we can see sections just by reading the code. Options outside option groups would fall...

It would create another section with indentation and so recursively. I don't see the issue here except that it would hurt readability, but that's on the developer. For starters forbid...

This should also cover arguments so I suggest the name `section` rather than `option_group`, shorter and more explicit: ``` python @click.command() @click.section('Request:', [ click.option('--json'), click.argument('method'), click.argument('url') ]) @click.section('Output options:', [...

Would you consider a feature that would prevent autorandr to run when under `XDG_SESSION_TYPE=wayland`? I have both a wayland and X setup and I'd like to keep autorandr but I...