diff --git a/almdrlib/client.py b/almdrlib/client.py index bf5e84d..40acd3a 100644 --- a/almdrlib/client.py +++ b/almdrlib/client.py @@ -783,6 +783,10 @@ def __getattr__(self, op_name): f"'{type(self).__name__}' object has no attribute '{op_name}'" ) + def __dir__(self): + # Add in operation names + return super().__dir__() + list(self._operations.keys()) + def _normalize_schema(name, schema, required=False): properties = schema.get(OpenAPIKeyWord.PROPERTIES)