Skip to content

Commit c72b0a3

Browse files
committed
changelog date and conditional shell completion for api
1 parent 792ec39 commit c72b0a3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
* As of v1.4.0 release candidates will be published in an effort to get new features out faster while still allowing time for full QA testing before moving the release candidate to a full release.
44

5-
## v1.5.0rc1 [2023-09-XX]
5+
## v1.5.0rc1 [2023-09-18]
66
#### What's New
77
* None
88

src/pybritive/helpers/api_method_argument_dectorator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import click
22
import pkg_resources
3-
from ..completers.api import api_completer
3+
44

55
click_major_version = int(pkg_resources.get_distribution('click').version.split('.')[0])
66

77

88
def click_smart_api_method_argument(func):
99
if click_major_version >= 8:
10+
from ..completers.api import api_completer
1011
dec = click.argument('method', shell_complete=api_completer)
1112
else:
1213
dec = click.argument('method')

0 commit comments

Comments
 (0)