code: def flavor_access_add(self, flavor_id, project_id):
          '''
          Add a project to the flavor access list
          '''
          nt_ks = self.compute_conn
          ret = {flavor_id: []}
          flavor_accesses = nt_ks.flavor_access.add_tenant_access(flavor_id, project_id)
          for project in flavor_accesses:
              ret[flavor_id].append(project.tenant_id)
          return ref flavor_access_add(self, flavor_id, project_id):
          '''
          Add a project to the flavor access list
          '''
          nt_ks = self.compute_conn
          ret = {flavor_id: []}
          flavor_accesses = nt_ks.flavor_access.add_tenant_access(flavor_id, project_id)
          for project in flavor_accesses:
              ret[flavor_id].append(project.tenant_id)
          return ret
docs: Add a project to the flavor access list