get_context_params
autogen.tools.dependency_injection.get_context_params #
Gets the names of the context parameters in a function signature.
PARAMETER | DESCRIPTION |
---|---|
func | The function to inspect for context parameters. |
subclass | The subclass to search for. TYPE: |
RETURNS | DESCRIPTION |
---|---|
list[str] | A list of parameter names that are instances of the specified subclass. |