Hello, Happy Friday everyone! If it's not the ri...
# ask-questions
o
Hello, Happy Friday everyone! If it's not the right place to seek help please guide or redirect me to the correct channel. I am seeing discrepancy in growthbook API response, now having
meta
value in the response from yesterday
Copy code
'ds_main_pricing_experiment': {
    'defaultValue': 0,
    'rules': [
      {
        'variations': [
          1,
          2
        ],
        'coverage': 1,
        'weights': [
          0.5,
          0.5
        ],
        'meta': [
          {
            'key': '0'
          },
          {
            'key': '1'
          }
        ],
        'hashAttribute': 'id',
        'namespace': [
          'Production Main',
          0,
          1
        ]
      }
    ]
  },
Error receiving in internal library
Copy code
File "/usr/local/bin/growthbook.py", line 461, in setFeatures
    self._features[key] = Feature(**feature)
  File "/usr/local/bin/growthbook.py", line 337, in __init__
    self.rules.append(FeatureRule(**rule))
TypeError: __init__() got an unexpected keyword argument 'meta'
[2023-08-11 05:50:37,813: ERROR/ForkPoolWorker-11] [Growthbook]Exception occurred__init__() got an unexpected keyword argument 'meta'.
Traceback (most recent call last):
f
Looks like the Python SDK isn’t supporting meta info
you can turn that off from the SDK
edit the SDK from GrowthBook
And uncheck the ’Include experiment/variation names”
o
Sure, i ll give it a shot in my spare time, is growth book team not managing the SDK?
l
@fresh-football-47124 if you don't mind me asking, what exactly is this new attribute adding and when is it useful to enable or disable it. Also, the steps you explained to turn them off/on are not showing up in my growthbook.
f
sometimes having the variation id doesn’t make for readable code
so instead, they would rather use explicit names for each variation
p
@fresh-football-47124 I cannot find this ’Include experiment/variation names', where this setting in editing screen for SDK is? We use React and Node SDKs. Is it possible that I cannot see it because we are running self-hosted open source version?