Skip to content

Commit 3976944

Browse files
roelschrralphrass
authored andcommitted
[MLOP-640] Create CLI with migrate command (#298)
1 parent ead426d commit 3976944

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

butterfree/_cli/__init__.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import logging
2+
3+
4+
def __logger(name: str) -> logging.Logger:
5+
format_ = "%(name)s:%(asctime)-15s:%(levelname)s:< %(message)s >"
6+
logging.basicConfig(format=format_, level=logging.INFO)
7+
return logging.getLogger(name)
8+
9+
10+
cli_logger = __logger("butterfree")

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ pyspark==3.*
66
typer>=0.3,<0.4
77
setuptools>=41,<42
88
typing-extensions==3.7.4.3
9-
boto3==1.17.*
9+
boto3==1.17.*

0 commit comments

Comments
 (0)