Azure / Azure/azure-sdk-for-python
[pylint] Importing public name into public module from another public module prohibit
- Lingua principale
- Python
- Stelle
- 5.6k
- Fork
- 3.4k
- Merge medio
- 2g 2h
- PR unite (30g)
- 213
Descrizione

- azure/core/tracing/common.py has the definition and implementation of change_context.
- azure/core/tracing/decorator.py has an import like from .common import change_context, so this import makes azure.core.tracing.decorator.change_context a public API.
- Ideally we'd want this to be imported as from .common import change_context as _change_context
- This is only a problem with public modules/namespaces. If there is an underscore-prefix anywhere in the module name, (i.e. azure.core._internal.utils, then this shouldn't apply.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.