Ningú

Results 73 comments of Ningú

You could always use deep context on the gyms declaration like ```python class UserFactory(BaseFactory): class Meta: model = User id = Sequence(lambda n: n+1) email = Sequence(lambda n: f"u{n+1}@example.com") @post_generation...

I'd say more: I would expect being able to override the declaration with other arbitrary declarations (fakers, self-attributes, lazy-functions, subfactories... anything!), which now will most probably cause a crash because...

Mhm, is a mimimal reproductible case available? This does work with no problems ``` class A(DictFactory): x = 0 Class B(DictFactory): y = Sequence(int) a = SubFactory(A, x=SelfAttribute("..y")) B.build() B.build()...

> [...] if aiopg depends on psycopg2-binary, it breaks alpine, but if it depends on psycopg2, then it makes the experience substantially worse for everyone on windows/macos/every other linux distro....

I am testing a sort of ETL that connects to quite a lot of testcontainers and this feature would be awesome. I imagine a workflow similar to the reutilization of...

Very much related https://github.com/danthedeckie/simpleeval/pull/60

I am starting multiple testcontainers and the same port leads to different services if accessed via 127.0.0.1 or via ::1 This can be disastrous. ``` Client: Version: 20.10.17 API version:...

This ``` class A(): def foo(self) -> None: pass class A1000(A): def foo(self) -> None: parent = super() for _ in range(1000): parent.foo() ``` already fails.

Removing float point calculations is the way to go. But the isqrt implementation shouldn't be responsibility of this package. As of 2021 the way to go is simply require python>3.8...

https://github.com/perrygeo/pairing/pull/3 would solve this (except for the documentation concern)