From d076909cb9430016bc6c3a80dd766ef94e710fae Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Tue, 12 Sep 2023 00:49:05 +0200 Subject: Update Readme --- tool/readme_table.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tool') diff --git a/tool/readme_table.py b/tool/readme_table.py index dc7c85f3..3e2a6e64 100644 --- a/tool/readme_table.py +++ b/tool/readme_table.py @@ -26,11 +26,11 @@ def print_imports(): def print_async(): print("##### Async support:") print("```py") - print("from g4f.Provider import (") + print("_providers = [") for _provider in get_providers(): if issubclass(_provider, AsyncProvider): - print(f" {_provider.__name__},") - print(")") + print(f" g4f.Provider.{_provider.__name__},") + print("]") print("```") print() print() -- cgit v1.2.3