parameters: (self)
return_statement: return setup
docstring: Defines operations that will be executed once at startup of each
          instance of a task. This can be seen as "thread_local" initialization.
          It is guaranteed to run only after all `task_init` logic finishes.
  
          This setup will be run concurrently for each instance of a task.
          For global task initialization, use `task_init` instead.
docstring_summary: Defines operations that will be executed once at startup of each
          instance of a task. This can be seen as "thread_local" initialization.
          It is guaranteed to run only after all `task_init` logic finishes.
docstring_tokens: Defines operations that will be executed once at startup of each instance of a task . This can be seen as thread_local initialization . It is guaranteed to run only after all task_init logic finishes .
function: def task_instance_init(self):
          """
          Defines operations that will be executed once at startup of each
          instance of a task. This can be seen as "thread_local" initialization.
          It is guaranteed to run only after all `task_init` logic finishes.
  
          This setup will be run concurrently for each instance of a task.
          For global task initialization, use `task_init` instead.
          """
          setup = _SetupBuilder(_SetupBuilder.INIT)
          self.net().add_attribute(Task.TASK_INSTANCE_SETUP, setup)
          return setup
function_tokens: def task_instance_init ( self ) : setup = _SetupBuilder ( _SetupBuilder . INIT ) self . net ( ) . add_attribute ( Task . TASK_INSTANCE_SETUP , setup ) return setup