https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
o

orange-receptionist-32304

08/11/2023, 7:39 AM
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

fresh-football-47124

08/11/2023, 7:44 AM
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

orange-receptionist-32304

08/11/2023, 7:48 AM
Sure, i ll give it a shot in my spare time, is growth book team not managing the SDK?
l

late-spring-83291

08/15/2023, 1:05 PM
@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

fresh-football-47124

08/15/2023, 6:52 PM
sometimes having the variation id doesn’t make for readable code
so instead, they would rather use explicit names for each variation
p

polite-gold-57590

11/01/2023, 4:34 PM
@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?
10 Views