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

create_or_update() method #2

Open
KalobTaulien opened this issue May 19, 2020 · 0 comments
Open

create_or_update() method #2

KalobTaulien opened this issue May 19, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@KalobTaulien
Copy link
Collaborator

In mixins.py there is AirtableMixin.create_record() and AirtableMixin.update_record().

These should ideally be merged together. Originally there were valid reasons for keeping these separate, but after further development they can merged.

Merging the two methods into a create_or_update() method would reduce logic in AirtableMixin.save() and we could likely remove some of the unit tests and merge those together as well.

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

No branches or pull requests

1 participant