From f183603bc028c73f9394aed9c4c6b4b37c35a81d Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Tue, 30 Nov 2021 11:19:49 +0100 Subject: [PATCH] Fix #653: Add missing __dir__ to configuration.py --- docker/configuration.docker.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker/configuration.docker.py b/docker/configuration.docker.py index f5b15e0..413f802 100644 --- a/docker/configuration.docker.py +++ b/docker/configuration.docker.py @@ -82,3 +82,10 @@ def __getattr__(name): except: pass raise AttributeError + + +def __dir__(): + names = [] + for config in _loaded_configurations: + names.extend(config.__dir__()) + return names