Skip to content

Commit 9490a33

Browse files
committed
[core] add commanddocs print for UnconstrainedValue
1 parent 685d0fb commit 9490a33

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/preppipe/frontend/commanddocs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ def get_type_annotation_str_impl(self, a, enumtr_list : list) -> str:
233233
options.append('"' + '","'.join(enumtr.get_current_candidates()) + '"')
234234
enumtr_list.append(enumtr)
235235
return '|'.join(options)
236+
if issubclass(a, UnconstrainedValue):
237+
return self._tr_any.get()
236238
raise NotImplementedError(str(a))
237239

238240
def get_default_value_str(self, v) -> str:

0 commit comments

Comments
 (0)