Spaces:
Runtime error
Runtime error
File size: 300 Bytes
b39229b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | from __future__ import annotations
from typing import TYPE_CHECKING
from argparse import ArgumentParser
from . import completions
if TYPE_CHECKING:
from argparse import _SubParsersAction
def register(subparser: _SubParsersAction[ArgumentParser]) -> None:
completions.register(subparser)
|