CMD + K

overrides

Anaconda Verified

A decorator to automatically detect mismatch when overriding a method

Installation

To install this package, run one of the following:

Conda
$conda install main::overrides

Usage Tracking

7.7.0
7.4.0
2 / 8 versions selected
Downloads (Last 6 months): 0

Description

A decorator @override that verifies that a method that should override an inherited method actually does it. Copies the docstring of the inherited method to the overridden method. Since signature validation and docstring inheritance are performed on class creation and not on class instantiation, this library significantly improves the safety and experience of creating class hierarchies in Python without significantly impacting performance.

About

Summary

A decorator to automatically detect mismatch when overriding a method

Last Updated

Nov 5, 2025 at 14:19

License

Apache-2.0

Total Downloads

13.5K

Version Downloads

1.6K

Supported Platforms

linux-aarch64
macOS-arm64
linux-64
win-64

Unsupported Platforms

linux-ppc64le Last supported version: 7.4.0
linux-s390x Last supported version: 7.4.0
macOS-64 Last supported version: 7.4.0