mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-17 09:34:48 +00:00
test(docs): tolerate leading whitespace before router_settings table rows
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
8b61bec3b6
commit
38d0d70420
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ try:
|
|||
if general_settings_section:
|
||||
# Extract the table rows, which contain the documented keys
|
||||
table_content = general_settings_section.group(1)
|
||||
doc_key_pattern = re.compile(r"^\|\s*([^\|]+?)\s*\|", re.MULTILINE)
|
||||
doc_key_pattern = re.compile(r"^\s*\|\s*([^\|]+?)\s*\|", re.MULTILINE)
|
||||
documented_keys.update(doc_key_pattern.findall(table_content))
|
||||
except Exception as e:
|
||||
raise Exception(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue