Michael Oliver

Results 42 comments of Michael Oliver

Nice work this would be awesome!

Having an additional template like google-pep-484 would be nice. Looking at the current [Google styleguide ](https://google.github.io/styleguide/pyguide.html#381-docstrings) they omit the types from the docstring as they are clear via the use...

+1 I would love this feature. Great library btw it works great!

> E.g. I currently import placeholder images, which is passed into a lazy loading responsive image component (along w the srcset imported separately), by doing the following: Hey @cryptodeal do...

There is another style of placeholder which I really like "traced placeholder". It is included with the [`gatsby-plugin-image`](https://github.com/gatsbyjs/gatsby/issues/2435) and [`svelte-image`](https://github.com/matyunya/svelte-image) components. I created a custom directive using the `svelte-image` [implementation](https://github.com/matyunya/svelte-image/blob/e41e7b5960f4f108094c3877859b6257b97c2e7a/src/main.js#L165-L187)...

This change would let users remove unnecessary casts when using `request.headers.get`: ```python from starlette.requests import Request def hello_world(request: Request): auth = request.headers.get("authorization") reveal_type(auth) # Revealed type is "Any" ```

> > This change would let users remove unnecessary casts when using `request.headers.get`: > > ```python > > from starlette.requests import Request > > > > > > def hello_world(request:...

Nice job @Kludex > Also, for almost all of the points, I think except for the cookies in the client, the needed refactor could be automated with a LibCST codemod......

> > Nice job @Kludex > > > > Thanks! > > > > > > Also, for almost all of the points, I think except for the cookies in...

> really interested in getting this done, where can I help test or implement? I can also help test, Typescript support would be great.