classes icon indicating copy to clipboard operation
classes copied to clipboard

Smart, pythonic, ad-hoc, typed polymorphism for Python

Results 41 classes issues
Sort by recently updated
recently updated
newest added

There's a common use-case when we need to create a type-class with several methods. Like: ```python class Functor(Protocol[T]): def map(self, function: Callable[[T], Functor[V]]) -> Functor[V]: ... @classmethod def from_value(cls, inner_value:...

enhancement
help wanted

# Bug report ## What's wrong I am hitting the error on a clean installation with python3.11 on MacOS. ```python Python 3.11.1 (main, Dec 12 2022, 14:17:59) [Clang 14.0.0 (clang-1400.0.29.202)]...

bug

Fixes https://github.com/dry-python/classes/issues/481 Can be merged after - [ ] #487 # I have made things! ## Checklist - [x] I have double checked that there are no unrelated changes in...

# Makes `classes` compatible with `mypy` 1.2 ## Checklist - [X] I have double checked that there are no unrelated changes in this pull request (old patches, accidental config files,...

Bumps [mypy](https://github.com/python/mypy) from 0.942 to 1.2.0. Commits 4f47dfb Promote version to 1.2.0 and drop +dev from the version 06aa182 [dataclass_transform] support implicit default for "init" parameter in field ... 7beaec2...

dependencies
python

Bumps [nitpick](https://github.com/andreoliwa/nitpick) from 0.32.0 to 0.33.1. Release notes Sourced from nitpick's releases. v0.33.1 0.33.1 (2023-03-29) Bug Fixes deps: pin requests-cache to >=1.0.0 (bc72699) deps: update dependency tomlkit to v0.11.7 (8dff578)...

dependencies
python

Bumps [phantom-types](https://github.com/antonagestam/phantom-types) from 1.0.0 to 1.2.2. Release notes Sourced from phantom-types's releases. 1.2.2 What's Changed Typeguard 3.0.0 hotfix by @​ramnes in antonagestam/phantom-types#270 New Contributors @​ramnes made their first contribution in...

dependencies
python

Bumps [codespell](https://github.com/codespell-project/codespell) from 2.2.1 to 2.2.4. Release notes Sourced from codespell's releases. v2.2.4 What's Changed BUG: Fix bug with toml triage by @​larsoner in codespell-project/codespell#2774 Full Changelog: https://github.com/codespell-project/codespell/compare/v2.2.3...v2.2.4 v2.2.3 NOTE:...

dependencies
python

Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.2.0 to 7.2.2. Release notes Sourced from pytest's releases. 7.2.2 pytest 7.2.2 (2023-03-03) Bug Fixes #10533: Fixed pytest.approx{.interpreted-text role="func"} handling of dictionaries containing one or more values...

dependencies
python

Bumps [sphinxcontrib-mermaid](https://github.com/mgaitan/sphinxcontrib-mermaid) from 0.7.1 to 0.8.1. Changelog Sourced from sphinxcontrib-mermaid's changelog. 0.8.1 (Feb 25, 2023) +++++++++++++++++++++ Default to Mermaid 9.4.0 as 10.0 introduced incompatible changes. See the discussion <https://github.com/mermaid-js/mermaid/discussions/4148>_. 0.8...

dependencies
python