File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ build-backend = "hatchling.build"
44
55[project ]
66name = " together"
7- version = " 0.0.6 "
7+ version = " 0.0.7 "
88authors = [
99 {
name =
" Together Computer" ,
email =
" [email protected] " },
1010]
11- description = " Coming soon !"
11+ description = " Python client for Together's Cloud Platform !"
1212readme = " README.md"
1313license = {file = " LICENSE" }
14- requires-python = " >=3.10 "
14+ requires-python = " >=3.6 "
1515classifiers = [
1616 " Programming Language :: Python :: 3" ,
1717 " License :: OSI Approved :: Apache Software License" ,
Original file line number Diff line number Diff line change @@ -40,7 +40,10 @@ def main() -> None:
4040 args = parser .parse_args ()
4141
4242 # Setup logging
43- logger = get_logger (__name__ , log_level = args .log )
43+ try :
44+ logger = get_logger (__name__ , log_level = args .log )
45+ except Exception :
46+ logger = get_logger (__name__ , log_level = "WARNING" )
4447
4548 try :
4649 args .func (args )
@@ -49,6 +52,7 @@ def main() -> None:
4952 if str (e ) != "'Namespace' object has no attribute 'func'" :
5053 logger .critical (f"Error raised: { e } " )
5154 exit_1 (logger )
55+ parser .print_help ()
5256
5357
5458if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments