title: Accessing parent class variable from an inner class?
body: <p>I am working with locust and I am working in mimicking the behavior of a user. However I am getting trouble accessing the parent class variable. Any idea how I can pass it? </p>
  
  <pre><code>class User(TaskSet):
    some_user = ''
  
    def on_start(self):
      self.get_user()
  
    def get_user(self):
      some_user = self.client.get...#gets user
  
    @task
    class UpdatingUser(TaskSet):
      def updating(self):
        path = "/posts/" + User.some_user
  </code></pre>
  
  <p>By the time I get to User.some_user I never have the user.</p>