Daniel Walker

Results 4 issues of 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...

bug
topic-type-narrowing

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...

enhancement

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.

enhancement
help wanted