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

Cast proper types when loading resource data #87

Merged

Conversation

akariv
Copy link
Member

@akariv akariv commented May 18, 2016

Fixes #82

@coveralls
Copy link

coveralls commented May 18, 2016

Coverage Status

Coverage increased (+0.02%) to 99.006% when pulling 53ee8ce on akariv:fix/resoure-iter-to-use-schema into 6ef3d7c on frictionlessdata:master.

@coveralls
Copy link

coveralls commented May 20, 2016

Coverage Status

Coverage decreased (-0.3%) to 98.729% when pulling bc779d2 on akariv:fix/resoure-iter-to-use-schema into 6ef3d7c on frictionlessdata:master.

@vitorbaptista
Copy link
Contributor

@akariv Is this good to go?

@akariv
Copy link
Member Author

akariv commented Jun 20, 2016

@vitorbaptista as far as I can tell...

@akariv akariv force-pushed the fix/resoure-iter-to-use-schema branch from bc779d2 to 5316e4a Compare July 8, 2016 16:58
@akariv akariv force-pushed the fix/resoure-iter-to-use-schema branch from 5316e4a to af43beb Compare July 8, 2016 17:18
@coveralls
Copy link

coveralls commented Jul 8, 2016

Coverage Status

Coverage decreased (-0.3%) to 98.732% when pulling af43beb on akariv:fix/resoure-iter-to-use-schema into 2904a30 on frictionlessdata:master.


def __iter__(self):
return self

def __next__(self):
row = next(self._tabulator_iter)
return dict(zip(row.headers, row.values))
row = dict(zip(row.headers,row.values))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a whitespace between row.headers and row.values

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@vitorbaptista
Copy link
Contributor

@akariv I'm sorry for taking so long to review this. Could you check my comments, rebase with master and push a new version? I'm hoping to merge it this week.

@akariv akariv force-pushed the fix/resoure-iter-to-use-schema branch from af43beb to 477f933 Compare July 18, 2016 15:27
@coveralls
Copy link

coveralls commented Jul 18, 2016

Coverage Status

Coverage decreased (-0.3%) to 98.731% when pulling 477f933 on akariv:fix/resoure-iter-to-use-schema into 63718d4 on frictionlessdata:master.

@vitorbaptista vitorbaptista merged commit 75dac0e into frictionlessdata:master Jul 18, 2016
@vitorbaptista
Copy link
Contributor

Thanks, @akariv!

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

Successfully merging this pull request may close these issues.

None yet

4 participants