Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ids are confusing. #5

Open
abegong opened this issue Apr 12, 2018 · 1 comment
Open

Ids are confusing. #5

abegong opened this issue Apr 12, 2018 · 1 comment

Comments

@abegong
Copy link
Contributor

abegong commented Apr 12, 2018

It's weird to run 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

@jcampbell
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants