FunctionWithRequirementsStr

FunctionWithRequirementsStr(
    func: str,
    python_packages: list[str] = [],
    global_imports: list[str | autogen.coding.func_with_reqs.ImportFromModule | autogen.coding.func_with_reqs.Alias] = []
)

FunctionWithRequirementsStr(func: str, python_packages: list[str] = [], global_imports: list[typing.Union[str, autogen.coding.func_with_reqs.ImportFromModule, autogen.coding.func_with_reqs.Alias]] = [])

Parameters:
NameDescription
funcType: str
python_packagesType: list[str]

Default: []
global_importsType: list[str | autogen.coding.func_with_reqs.ImportFromModule | autogen.coding.func_with_reqs.Alias]

Default: []

Class Attributes

func



global_imports



python_packages