---
title: Python-SDK - 3.8.0
slug: feature-experimentation/release-notes/python-sdk-3-8-0
docTags: 
createdAt: 2026-07-20T15:44:23.400Z
---

## \[3.8.0]

February 12th, 2021

### New Features

New Features
Introducing a new primary interface for retrieving feature flag status, configuration and associated experiment decisions for users (\[#309]\([https://github.com/optimizely/python-sdk/pull/309](https://github.com/optimizely/python-sdk/pull/309))). The new \`OptimizelyUserContext\` class is instantiated with `create_user_context` and exposes the following APIs to get `OptimizelyDecision`:

- set\_attribute
- decide
- decide\_all
- decide\_for\_keys
- track\_event

For details, refer to our documentation page: [https://docs.developers.optimizely.com/full-stack/v4.0/docs/python-sdk](docId\:evF8hzKaD5UkPwODR3sPc).

[https://github.com/optimizely/python-sdk/releases/tag/3.8.0](https://github.com/optimizely/python-sdk/releases/tag/3.8.0)
