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

The best way to override skip_row #699

Closed
int-ua opened this issue Dec 7, 2017 · 2 comments
Closed

The best way to override skip_row #699

int-ua opened this issue Dec 7, 2017 · 2 comments
Labels

Comments

@int-ua
Copy link
Contributor

int-ua commented Dec 7, 2017

Is this the best way?

class YourResource(ModelResource):
    def skip_row(self, instance, original):
        # additional checks
        return super(YourResource, self).skip_row(instance, original)

I'll try adding it to the docs after confirmation or improvement.

@stale
Copy link

stale bot commented Feb 11, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale bot label Feb 11, 2019
@stale stale bot closed this as completed Feb 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants