We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ab3c10 + 6189437 commit 4eb5badCopy full SHA for 4eb5bad
gitlab/v4/cli.py
@@ -79,7 +79,7 @@ def _process_from_parent_attrs(self) -> None:
79
# If we don't delete it then it will be added to the URL as a query-string
80
del self.args[key]
81
82
- def __call__(self) -> Any:
+ def run(self) -> Any:
83
# Check for a method that matches object + action
84
method = f"do_{self.what}_{self.action}"
85
if hasattr(self, method):
@@ -505,7 +505,7 @@ def run(
505
fields: List[str],
506
) -> None:
507
g_cli = GitlabCLI(gl=gl, what=what, action=action, args=args)
508
- data = g_cli()
+ data = g_cli.run()
509
510
printer: Union[JSONPrinter, LegacyPrinter, YAMLPrinter] = PRINTERS[output]()
511
0 commit comments