bupa1018 commited on
Commit
14e8185
·
1 Parent(s): 6942698

Update chunk_python_code.py

Browse files
Files changed (1) hide show
  1. chunk_python_code.py +4 -4
chunk_python_code.py CHANGED
@@ -12,11 +12,11 @@ def chunk_python_code_with_metadata(source_code, source):
12
  iterate_ast(source_code, documents, source)
13
  # Determine usage based on the source path
14
  if source.startswith("kadi_apy/lib/"):
15
- usage = "python library"
16
- elif source.startswith("kadi_apy/cli/commands/"):
17
- usage = "command line interface"
18
  elif source.startswith("kadi_apy/cli/"):
19
- usage = "python cli library"
 
 
20
  elif source.startswith("doc/"):
21
  usage = "doc"
22
  else:
 
12
  iterate_ast(source_code, documents, source)
13
  # Determine usage based on the source path
14
  if source.startswith("kadi_apy/lib/"):
15
+ usage = "kadiAPY library"
 
 
16
  elif source.startswith("kadi_apy/cli/"):
17
+ usage = "kadiAPY cli library"
18
+ elif source.startswith("kadi_apy/cli/commands/"):
19
+ usage = "kadiAPY command line"
20
  elif source.startswith("doc/"):
21
  usage = "doc"
22
  else: