Oliver Ford
Oliver Ford
Well I found _a_ way to do this, better than overriding `generate`; continuing the example above: ```python area = factory.LazyAttribute(lambda s: s.length * s.width) @factory.lazy_attribute def width(self): if not isinstance(self.area,...
Oops, no, that doesn't work once you do define the third that I lazily omitted. But this does: ```python try: area, length = self.area, self.length except factory.errors.CyclicDefinitionError: pass else: #...
That would be great! On naming though I wonder if the user need be concerned with cycle breaking, or at least if that's the terms within which I'd be thinking...
Or, (hitting this again, this felt like it would be natural): ```python area = factory.LazyFormulaic(lambda o: o.width * o.height, not_set=factory.Faker("pydecimal")) ``` or `fallback=`. Essentially your initial suggestion, I just think...
@squat Looks like @afady's blitzed the acceptance tests; #27 still needs rebasing, but anything else we can help with? I noticed it doesn't work with the upcoming terraform 0.12 release,...
I guess it's more likely that this one gets added: https://github.com/vultr/terraform-provider-vultr Blog announcement: https://www.vultr.com/news/Collaborate-with-Vultr-on-GitHub/
@Shougo It may desirable to be using a project's virtual environment for other purposes, but to find the system-wide (or a different venv's) interpreter for pynvim.
Assuming `pynvim` is installed system-wide (which in OP's case it looks like it wasn't) a workaround is to create (or modify) your venvs as: ``` python -m venv --system-site-packages {VENV_PATH}...
@corbolais That is not the case for me, and certainly a different issue to this anyway.
Ha..! Nice find @gurnec, that does fix it for me too.