setattr
constsetattr: (obj:unknown,name:string,value:unknown) =>void=builtins.setattr
Defined in: packages/pythonlib/src/index.ts:195
Python setattr() function - set an attribute on an object
Parameters
| Parameter | Type | Description |
|---|---|---|
obj | unknown | The object to set the attribute on |
name | string | The name of the attribute |
value | unknown | The value to set |
Returns
void