Skip to content

Commit

Permalink
fix generics to make them more generic
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusfillipe committed Feb 16, 2024
1 parent 95a1df3 commit 6595578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

all_working_providers = [provider.__name__ for provider in g4f.Provider.__providers__ if provider.working]

A = TypeVar("A", bound=str)
A = TypeVar("A")


def allowed_values(v: A, allowed: list[A]) -> A:
Expand Down

0 comments on commit 6595578

Please sign in to comment.