Daniel Walker
Daniel Walker
In this example ```python def func(cls: type) -> typing.Any: if cls is str: reveal_type(cls) return cls(5) ``` mypy states > note: Revealed type is "builtins.type" Makes sense. However, if I...
Is there a way to run a shell command on the phone in a manner akin to `subprocess.Popen`? Specifically, I'd like to start a command, get its PID, do some...
Many constructions in Java can be simplified with syntactic sugar. For example, ```java foo.ifPresent(value -> value.someMethod()); ``` can be simplified to ```java foo.ifPresent(Foo::someMethod); ``` Also, ```java foo.methodWithCallback(new Foo.Callback() { @Override...
Methods decorated with `pydantic.field_serializer` get displayed by `autopydantic_model`. It would be nice if either they were disabled by default or there was an option to disable them.