Skip to content

setFeatures is deprecated but used internally #85

@fmorenodesigns

Description

@fmorenodesigns

I've noticed that setFeatures is marked as deprecated, but it's still used internally upon initializing a GrowthBook instance. So my project's tests end up raising the DeprecationWarning even though I'm not calling it explicitly myself.

This is how I initialize the instance, as per suggestion in the docs https://github.com/growthbook/growthbook-python?tab=readme-ov-file#custom-implementation

def _initialize_growthbook():
    ...
    return GrowthBook(attributes=attributes, features=features)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions