Write names that clearly communicate meaning, scope/intent, and project terminology—especially on public APIs/CLI and when calling helpers.
Apply:
endpoint).func(..., api_type=api_type, api_version=api_version) over relying on position._name) for “internal/private by convention”.__name) unless you specifically need name-mangling semantics._ to satisfy linters and show intent (e.g., _logger_with_filter).wandb_logger / WandbLogger) rather than something indistinguishable from general logging.Example:
api_type, api_version = cls._get_api_type_and_version(api_type, api_version)
url = cls._get_url("edits", None, api_type=api_type, api_version=api_version)
def _check_polling_response(...):
... # internal by convention
Enter the URL of a public GitHub repository