Jake Hill

Results 19 comments of Jake Hill

Feels like wrapping it with another decorator might be a pretty way of doing it. e.g. ```python @tenacity.retry @tenacity.pass_statistics def foo(statistics, value): print(f'Attempt #{statistics.attempt_number}: {value}' ```

I don't mind putting in a small amount of time to support a `@tenacity.pass_statistics` for what it's worth.

Opting out of the label is a perfectly reasonable thing to want though. Maybe make the label the UID rather than the name. There's plenty of "fixes" which could be...

@mumoshu Any desire to see this added still? Happy to take a look in the coming days and submit a PR.

Is there a different workaround? I'm looking for a similar setup as @acaire and since it's quite a few settings with a substring of namespace (also release name) it's a...

@cnicodeme Did you ever figure out a workaround to this?

@cnicodeme I think I've figured out the issue with using multiple model types; seems to be a bug in the UnionType code. ``` < from ..exceptions import ConversionError --- >...

From what I can tell looking into it; UnionType is what I should be using but the conversions from ModelTypes regularly end up in DataErrors for rogue fields, really these...

> @naphta did you land on anything here? I didn't actually get around to trying to put a fix in place. I haven't really wanted to create user facing API...

@wincent It's exactly that pre-alphaness I'm keen to jump on the bandwagon of. It'd be nice to provide extra layout without making it a pain to rebase in the future....