efeno commited on
Commit
a249620
·
1 Parent(s): 8ceb20f

refactoring test

Browse files
Files changed (1) hide show
  1. test.py +3 -3
test.py CHANGED
@@ -13,8 +13,9 @@ activeloop_service = InitiazlizeActiveloopService()
13
 
14
 
15
  async def process_file(owner, repo, file_type):
16
- docs1 = github_service.load_repo_data(owner, repo, file_type)
17
- return docs1
 
18
 
19
 
20
  async def main():
@@ -31,7 +32,6 @@ async def main():
31
  # docs = github_service.load_repo_data(owner, repo, file_type)
32
  # activeloop_service.upload_to_activeloop(docs)
33
  print(results)
34
- a = 1
35
  # activeloop_service.upload_to_activeloop(docs1)
36
 
37
 
 
13
 
14
 
15
  async def process_file(owner, repo, file_type):
16
+ docs = github_service.load_repo_data(owner, repo, file_type)
17
+ activeloop_service.upload_to_activeloop(docs)
18
+ return docs
19
 
20
 
21
  async def main():
 
32
  # docs = github_service.load_repo_data(owner, repo, file_type)
33
  # activeloop_service.upload_to_activeloop(docs)
34
  print(results)
 
35
  # activeloop_service.upload_to_activeloop(docs1)
36
 
37