sobolevn
sobolevn
I would like to mention an awesome event with several great talks about frontend. My talk: https://www.youtube.com/watch?v=ICVVCOjpCkA All videos: https://www.youtube.com/channel/UCBVZa_qgKhT8_MMqvR0bNQA/videos
Working with the latest `hex` release: ``` elixir schema "events" do embeds_many :partners, MyApp.Partner end defmodule MyApp.Partner do use Ecto.Schema embedded_schema do field :url field :image timestamps end end ```...
When you click on `close` nothing happens. Before click: After: Tried different pages - same result. The issue might be with `iOS emulator` (I have no real mobile devices to...
After upgrading to `elixir 1.3` I have faced a lot of warnings! Here are the ones coming from `ex_admin`: > warning: the variable "controller_route" is unsafe as it has been...
Related #305 Here's how it works: ```python from dramatiq import actor @actor def test(arg: int) -> str: return str(arg) reveal_type(test) reveal_type(test(1)) ``` Output: ``` » mypy ex.py ex.py:7: note: Revealed...
There's a problem with `tuple_factory` and `dict_factory` in `dataclasses.pyi` Why? Because the given callback type does not really match `tuple` / `dict` constructors. Example: ```python from dataclasses import dataclass, astuple,...
Refs https://github.com/python/typeshed/pull/8520
Example: ```python from dataclasses import dataclass, asdict @dataclass class D: x: int asdict(D(1), dict_factory=dict) # Argument "dict_factory" to "asdict" has incompatible type "Type[Dict[Any, Any]]"; expected "Callable[[List[Tuple[str, Any]]], Dict[_KT, _VT]]" ```...
It does not have this method for a long time now: https://github.com/sqlalchemy/sqlalchemy/blob/14bfbadfdf9260a1c40f63b31641b27fe9de12a0/lib/sqlalchemy/exc.py#L43-L117
I think that it is almost time (maybe after new mypy release) to remove `__nonzero__` methods from `typeshed`. Why? - python2 support is dropped from mypy - I removed `__nonzero__`...