can use tiramisu-cmdline-parser without tiramisu
This commit is contained in:
parent
c0f2e7d8dd
commit
dc550d0e69
|
@ -16,11 +16,12 @@
|
|||
|
||||
from typing import Union, List, Optional
|
||||
from argparse import ArgumentParser, Namespace, SUPPRESS, _HelpAction
|
||||
from tiramisu.error import PropertiesOptionError
|
||||
try:
|
||||
from tiramisu import Config
|
||||
from tiramisu.error import PropertiesOptionError
|
||||
except ImportError:
|
||||
Config = None
|
||||
from tiramisu_json_api.error import PropertiesOptionError
|
||||
try:
|
||||
from tiramisu_json_api import Config as ConfigJson
|
||||
if Config is None:
|
||||
|
|
Loading…
Reference in New Issue