File tree 2 files changed +8
-4
lines changed
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"
4
4
5
5
[project ]
6
6
name = " together"
7
- version = " 0.0.6 "
7
+ version = " 0.0.7 "
8
8
authors = [
9
9
{
name =
" Together Computer" ,
email =
" [email protected] " },
10
10
]
11
- description = " Coming soon !"
11
+ description = " Python client for Together's Cloud Platform !"
12
12
readme = " README.md"
13
13
license = {file = " LICENSE" }
14
- requires-python = " >=3.10 "
14
+ requires-python = " >=3.6 "
15
15
classifiers = [
16
16
" Programming Language :: Python :: 3" ,
17
17
" License :: OSI Approved :: Apache Software License" ,
Original file line number Diff line number Diff line change @@ -40,7 +40,10 @@ def main() -> None:
40
40
args = parser .parse_args ()
41
41
42
42
# 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" )
44
47
45
48
try :
46
49
args .func (args )
@@ -49,6 +52,7 @@ def main() -> None:
49
52
if str (e ) != "'Namespace' object has no attribute 'func'" :
50
53
logger .critical (f"Error raised: { e } " )
51
54
exit_1 (logger )
55
+ parser .print_help ()
52
56
53
57
54
58
if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments