0

I have a function signature:

keyword_extraction(content: str, channels=List[Channel.Game]){
   ...
}

But I got an error message:

Parameters to generic types must be types. 

In my case, the List is of type Channel.Game, where Channel is an Enum in Python. What does it complain it?

marlon
  • 6,029
  • 8
  • 42
  • 76

0 Answers0