Open abegong opened 6 years ago
It's weird to run get_dataset(id=1)
get_dataset(id=1)
and get back
pair.get_dataset(1) Out[18]: {'dataset': {'id': 'RGF0YXNldDox', 'project': {'id': 'UHJvamVjdDox'}, 'createdBy': None, 'filename': None, 's3Key': None, 'organization': {'id': 'T3JnYW5pemF0aW9uOjE='}}}
RGF0YXNldDox != 1
RGF0YXNldDox
For documentation's sake: this is a "feature" of relay. We may be able to turn it off ( @roblim ?)
But, e.g., base64.b64decode('RGF0YXNldDox').decode("utf-8").split(":")[1] == 1
base64.b64decode('RGF0YXNldDox').decode("utf-8").split(":")[1] == 1
It's weird to run
get_dataset(id=1)
and get back
RGF0YXNldDox
!= 1