Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2a4493c

Browse files
committed
chore(cli): expose custom arguments in current function
1 parent4a6bd90 commit2a4493c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎gitlab/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def wrapped_f(*args: Any, **kwargs: Any) -> Any:
7979
action=custom_actionorf.__name__.replace("_","-")
8080
custom_actions[final_name][action]= (mandatory,optional,in_obj)
8181

82+
wrapped_f._custom_args=mandatory+optional
8283
returncast(__F,wrapped_f)
8384

8485
returnwrap

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp