Skip to content

demopkg.compat

Backwards compatible aliases, without an __all__.

The public surface of this module is inferred: legacy_name and LEGACY_LIMIT are public, _shim is private, and Report is an import (so it is only shown when imported members are not filtered out).

Attributes

NameDescription
LEGACY_LIMITLargest report size the old API accepted.

Functions

NameDescription
legacy_nameReturn the name the old API would have used.

LEGACY_LIMITattributemodule attribute#

LEGACY_LIMIT = 100

Largest report size the old API accepted.

legacy_namefunction#

def legacy_name(report: Report) -> str

Return the name the old API would have used.

Parameters

NameTypeDescription
reportReportReport to name.

Returns

str
The legacy name.