I'm new to Flask blueprints, and I was wondering what the best practice is for implementing reusable blueprints such as flask-social-blueprint or flask-users-blueprint? Should I:
- copy-paste the code into my project and overwrite whatever I want to change, or
- import from the blueprint and then write overriding functions in a separate module?
In other words, are blueprints meant to be boilerplate files that save you from typing, or are they like Flask "extensions" and other Python modules to be imported without changing the original code?