File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1- def get_token (username , platform = 'colab' , verbose = 0 ):
1+ def get_token (platform = 'colab' ,ENV_PATH = None ):
22 if platform == 'colab' :
33 return get_token_colab (username ,verbose = verbose )
44 else :
55 raise Exception ("Platform " + platform + ' is not supported.' )
66
7- def get_token_colab (username , verbose = 0 , ENV_PATH = None ):
7+ def get_token_colab ( ENV_PATH = None ):
88 from google .colab import drive
99 drive .mount ('/content/drive' )
10- filename = username + "-actions.txt"
1110 if ENV_PATH is None :
1211 ENV_PATH = "/content/drive/MyDrive/secrets/github.env"
1312 import os , requests
Original file line number Diff line number Diff line change 22
33setup (
44 name = "mec" ,
5- version = "0.216 " ,
5+ version = "0.217 " ,
66 authors = ["Alfred Galichon" ],
7788 licence = "" ,
You can’t perform that action at this time.
0 commit comments